25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

*** empty log message ***

SVN Revision: 26
This commit is contained in:
Alexey Shchepin 2003-01-03 07:51:17 +00:00
parent 44797c9524
commit cdc9b9f38d

View File

@ -326,8 +326,7 @@ terminate(Reason, StateName, StateData) ->
ok;
_ ->
ejabberd_sm:close_session(StateData#state.user,
StateData#state.resource)
end,
StateData#state.resource),
From = {StateData#state.user,
StateData#state.server,
StateData#state.resource},
@ -335,7 +334,8 @@ terminate(Reason, StateName, StateData) ->
ejabberd_sm:unset_presence(StateData#state.user,
StateData#state.resource),
presence_broadcast(From, StateData#state.pres_a, Packet),
presence_broadcast(From, StateData#state.pres_i, Packet),
presence_broadcast(From, StateData#state.pres_i, Packet)
end,
StateData#state.sender ! close,
ok.