Browse code

FIX: nezmazavanie otvoreneho chatu po jeho zavreti na strane servera

Cinan Rakosnik authored on 02/05/2013 at 19:55:16
Showing 1 changed files
... ...
@@ -133,6 +133,8 @@ class WsChatController < WsController
133 133
             changes = {removed: [me]}
134 134
             client.send(MessageBuilder::req_update_multichat_contacts(me, owner, chat_id, changes))
135 135
         end
136
+
137
+        connection_store[:opened_chats][client].delete(chat_id)
136 138
     end
137 139
 
138 140
     def kick_from_multichat