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