Browse code

Pamatanie si priority resource kontaktu

Cinan Rakosnik authored on 06/05/2013 at 23:19:17
Showing 1 changed files
... ...
@@ -267,7 +267,8 @@ class WsRosterController < WsController
267 267
 
268 268
                 connection_store[:presences][roster_item.jid.strip.to_s][new_presence.from.to_s.to_sym] = {
269 269
                     status: status,
270
-                    multichat: false
270
+                    multichat: false,
271
+                    priority: new_presence.priority
271 272
                 }
272 273
 
273 274
                 ask_if_using_this_app(connection_store[:link_roster_client][roster], new_presence.from.strip.to_s)