25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Merge pull request #1011 from oxoWrk/master

Bare JID in 'from' of Roster Push (RFC 6121 section 2.1.6) in mod_adm…
This commit is contained in:
Paweł Chmielowski 2016-03-16 11:37:25 +01:00
commit 34bc698526

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