mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-08 15:42:29 +01:00
Insert "priority" element in out-of-reception presences
This commit is contained in:
parent
f2cfee11de
commit
fd50b2169b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user