mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Bare JID in 'from' of Roster Push (RFC 6121 section 2.1.6) in mod_admin_extra
This commit is contained in:
parent
3fef1a4435
commit
058b3d96bf
@ -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">>,
|
||||
|
Loading…
Reference in New Issue
Block a user