Skip to content

Commit

Permalink
missed a spot where channel can be out of sync
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSaffron committed Feb 24, 2013
1 parent 14c2a45 commit b0b0e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def self.find_by_temporary_key(key)
# tricky, we need our bus to be subscribed from the right spot
def sync_notification_channel_position
@unread_notifications_by_type = nil
self.notification_channel_position = MessageBus.last_id('/notification')
self.notification_channel_position = MessageBus.last_id("/notification/#{id}")
end

def invited_by
Expand Down

0 comments on commit b0b0e22

Please sign in to comment.