]> granicus.if.org Git - ejabberd/commit
ejabberd_c2s: Don't close session on stream resume
authorHolger Weiss <holger@zedat.fu-berlin.de>
Tue, 18 Apr 2017 23:20:28 +0000 (01:20 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Tue, 18 Apr 2017 23:20:28 +0000 (01:20 +0200)
commitb8a77209865447e587e3f40313a89e93c26d260f
tree721cf231c0a06a33d3f1d5fb4b237bc910b426a3
parent7c9415356db372663545c997794a370387383d0c
ejabberd_c2s: Don't close session on stream resume

Don't let ejabberd_c2s close the session and unset presence if a
'c2s_terminated' callback stops hook execution, as is done in
mod_stream_mgmt:c2s_terminated/2 on resumption.

Fixes #1680.
src/ejabberd_c2s.erl