mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: don't notify on link reflections
This commit is contained in:
@@ -44,6 +44,11 @@ describe PostAlerter do
|
||||
|
||||
user.reload
|
||||
user.notifications.count.should == 1
|
||||
|
||||
# don't notify on reflection
|
||||
post1.reload
|
||||
PostAlerter.new.extract_linked_users(post1).length.should == 0
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user