mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
missed a spot where channel can be out of sync
This commit is contained in:
parent
14c2a4568d
commit
b0b0e222f7
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ class User < ActiveRecord::Base
|
||||||
# tricky, we need our bus to be subscribed from the right spot
|
# tricky, we need our bus to be subscribed from the right spot
|
||||||
def sync_notification_channel_position
|
def sync_notification_channel_position
|
||||||
@unread_notifications_by_type = nil
|
@unread_notifications_by_type = nil
|
||||||
self.notification_channel_position = MessageBus.last_id('/notification')
|
self.notification_channel_position = MessageBus.last_id("/notification/#{id}")
|
||||||
end
|
end
|
||||||
|
|
||||||
def invited_by
|
def invited_by
|
||||||
|
|
Loading…
Reference in a new issue