25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01:00

Don't use jlib:jid_remove_resource

This commit is contained in:
Paweł Chmielowski 2016-03-16 13:32:19 +01:00
parent 34bc698526
commit 7b72247b2c

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(jlib:jid_remove_resource(LJID), LJID, ResIQ).
ejabberd_router:route(jid:remove_resource(LJID), LJID, ResIQ).
build_roster_item(U, S, {add, Nick, Subs, Group}) ->
{xmlel, <<"item">>,