mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
isolate notifications in channel per user
This commit is contained in:
@@ -38,7 +38,6 @@ class MessageBus::Client
|
||||
r = []
|
||||
@subscriptions.each do |k,v|
|
||||
next if v.to_i < 0
|
||||
|
||||
messages = MessageBus.backlog(k,v)
|
||||
messages.each do |msg|
|
||||
allowed = !msg.user_ids || msg.user_ids.include?(self.user_id)
|
||||
|
||||
Reference in New Issue
Block a user