Browse code

Nastavena defaultna priorita na 10

Cinan Rakosnik authored on 29/05/2013 at 18:13:09
Showing 1 changed files
... ...
@@ -113,6 +113,7 @@ class WsRosterController < WsController
113 113
     def set_presence
114 114
         connection_store[:clients].each do |client|
115 115
             presence = Jabber::Presence.new.set_type(:available)
116
+            presence.priority = 10
116 117
             client.send(presence)
117 118
             connection_store[:my_presences][client] = presence
118 119
         end