Bare JID in 'from' of Roster Push (RFC 6121 section 2.1.6) in mod_admin_extra

This commit is contained in:
root 2016-03-15 10:57:56 +05:00
parent 3fef1a4435
commit 058b3d96bf
1 changed files with 1 additions and 1 deletions

View File

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