24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-16 22:05:29 +02:00

mod_muc_room: Include 110 status on shutdown

Add the 110 status code to the presence unavailable stanzas sent to room
occupants on system shutdown.
This commit is contained in:
Holger Weiss 2017-11-30 23:58:01 +01:00
parent 0b1a6d7e79
commit 418718de31

View File

@ -693,7 +693,7 @@ terminate(Reason, _StateName, StateData) ->
sub_els = [#muc_user{items = [#muc_item{affiliation = none,
reason = ReasonT,
role = none}],
status_codes = [332]}]},
status_codes = [332|110]}]},
(?DICT):fold(fun (LJID, Info, _) ->
Nick = Info#user.nick,
case Reason of