Fix broken spec.

This commit is contained in:
Guo Xiang Tan 2017-10-02 12:25:38 +08:00
parent 9fa575dca1
commit 5c1d551e9c

View File

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