25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-05 14:51:05 +02:00

Insert "priority" element in out-of-reception presences

This commit is contained in:
Alexey Shchepin 2010-09-23 16:18:53 +03:00
parent f2cfee11de
commit fd50b2169b

View File

@ -2501,7 +2501,9 @@ change_reception(#state{reception = true} = StateData, false) ->
[{xmlelement, "show", [],
[{xmlcdata, StateData#state.oor_show}]},
{xmlelement, "status", [],
[{xmlcdata, StateData#state.oor_status}]}]},
[{xmlcdata, StateData#state.oor_status}]},
{xmlelement, "priority", [],
[{xmlcdata, "0"}]}]},
update_priority(0, Packet, StateData),
presence_broadcast_to_trusted(
StateData,