mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
mod_stream_mgmt: Fix 'if_offline' detection
This commit is contained in:
parent
120682ec8b
commit
9cc332d6b3
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ route_unacked_stanzas(#{mgmt_state := MgmtState,
|
||||||
Resend when is_boolean(Resend) ->
|
Resend when is_boolean(Resend) ->
|
||||||
Resend;
|
Resend;
|
||||||
if_offline ->
|
if_offline ->
|
||||||
case ejabberd_sm:get_user_resources(User, Resource) of
|
case ejabberd_sm:get_user_resources(User, Server) of
|
||||||
[Resource] ->
|
[Resource] ->
|
||||||
%% Same resource opened new session
|
%% Same resource opened new session
|
||||||
true;
|
true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue