diff options
author | root <root@jabbertst> | 2016-03-15 10:57:56 +0500 |
---|---|---|
committer | root <root@jabbertst> | 2016-03-15 10:57:56 +0500 |
commit | 058b3d96bf4c6829b20d967df8b05b04ef91807b (patch) | |
tree | 5e8303c837156adc7cee29913daeea8d2b76c136 | |
parent | Merge pull request #991 from suchatorg/patch-1 (diff) |
Bare JID in 'from' of Roster Push (RFC 6121 section 2.1.6) in mod_admin_extra
-rw-r--r-- | src/mod_admin_extra.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl index ad3f10ab..b8ee49f7 100644 --- a/src/mod_admin_extra.erl +++ b/src/mod_admin_extra.erl @@ -1194,7 +1194,7 @@ push_roster_item(LU, LS, R, U, S, Action) -> ejabberd_sm:route(LJID, LJID, BroadcastEl), Item = build_roster_item(U, S, Action), ResIQ = build_iq_roster_push(Item), - ejabberd_router:route(LJID, LJID, ResIQ). + ejabberd_router:route(jlib:jid_remove_resource(LJID), LJID, ResIQ). build_roster_item(U, S, {add, Nick, Subs, Group}) -> {xmlel, <<"item">>, |