mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
fix bad jid issue
This commit is contained in:
parent
149f8e2b45
commit
15c27c9ddd
@ -350,7 +350,7 @@ out_subscription(UserFrom, ServerFrom, JIDTo, unsubscribed) ->
|
||||
|
||||
%% Remove pending out subscription
|
||||
#jid{luser = UserTo, lserver = ServerTo} = JIDTo,
|
||||
JIDFrom = jlib:make_jid(UserFrom, UserTo, ""),
|
||||
JIDFrom = jlib:make_jid(UserFrom, ServerFrom, ""),
|
||||
Mod:out_subscription(UserTo, ServerTo, JIDFrom, unsubscribe),
|
||||
|
||||
%% Remove pending in subscription
|
||||
|
Loading…
Reference in New Issue
Block a user