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