mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Fix broken spec.
This commit is contained in:
parent
9fa575dca1
commit
5c1d551e9c
1 changed files with 1 additions and 3 deletions
|
@ -157,14 +157,12 @@ after_initialize do
|
|||
|
||||
messagebus_channel = Presence::PresenceManager.get_messagebus_channel(type, id)
|
||||
|
||||
{
|
||||
payload = {
|
||||
messagebus_channel: messagebus_channel,
|
||||
messagebus_id: MessageBus.last_id(messagebus_channel),
|
||||
users: serialized_users
|
||||
}
|
||||
end
|
||||
else
|
||||
{}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue