mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-09 15:06:54 +02:00
Don't set termination reason into presence-unavailable status
Fixes https://github.com/processone/xmpp/issues/35
This commit is contained in:
parent
8c8c480477
commit
b416527e4f
@ -272,7 +272,6 @@ process_terminated(#{sid := SID, socket := Socket,
|
||||
State1 = case maps:is_key(pres_last, State) of
|
||||
true ->
|
||||
Pres = #presence{type = unavailable,
|
||||
status = xmpp:mk_text(Status),
|
||||
from = JID,
|
||||
to = jid:remove_resource(JID)},
|
||||
ejabberd_sm:close_session_unset_presence(SID, U, S, R,
|
||||
|
Loading…
Reference in New Issue
Block a user