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:
parent
34bc698526
commit
7b72247b2c
@ -1194,7 +1194,7 @@ push_roster_item(LU, LS, R, U, S, Action) ->
|
|||||||
ejabberd_sm:route(LJID, LJID, BroadcastEl),
|
ejabberd_sm:route(LJID, LJID, BroadcastEl),
|
||||||
Item = build_roster_item(U, S, Action),
|
Item = build_roster_item(U, S, Action),
|
||||||
ResIQ = build_iq_roster_push(Item),
|
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}) ->
|
build_roster_item(U, S, {add, Nick, Subs, Group}) ->
|
||||||
{xmlel, <<"item">>,
|
{xmlel, <<"item">>,
|
||||||
|
Loading…
Reference in New Issue
Block a user