25
1
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:
Christophe Romain 2011-01-03 09:52:12 +01:00
parent 149f8e2b45
commit 15c27c9ddd

View File

@ -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