isolate notifications in channel per user

This commit is contained in:
Sam Saffron
2013-02-24 10:23:52 +11:00
parent f83494d012
commit 82e2fae1b8
5 changed files with 11 additions and 2050 deletions

View File

@@ -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)