mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 07:43:43 +08:00
Fix broken spec.
This commit is contained in:
parent
9fa575dca1
commit
5c1d551e9c
|
@ -157,14 +157,12 @@ after_initialize do
|
||||||
|
|
||||||
messagebus_channel = Presence::PresenceManager.get_messagebus_channel(type, id)
|
messagebus_channel = Presence::PresenceManager.get_messagebus_channel(type, id)
|
||||||
|
|
||||||
{
|
payload = {
|
||||||
messagebus_channel: messagebus_channel,
|
messagebus_channel: messagebus_channel,
|
||||||
messagebus_id: MessageBus.last_id(messagebus_channel),
|
messagebus_id: MessageBus.last_id(messagebus_channel),
|
||||||
users: serialized_users
|
users: serialized_users
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
else
|
|
||||||
{}
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user