mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
Use bare jid when processing roster subscriptions
This commit is contained in:
parent
ef6af11f17
commit
e6d1ff85f1
@ -571,7 +571,7 @@ process_subscription(Direction, User, Server, JID1,
|
||||
Type, Reason) ->
|
||||
LUser = jid:nodeprep(User),
|
||||
LServer = jid:nameprep(Server),
|
||||
LJID = jid:tolower(JID1),
|
||||
LJID = jid:tolower(jid:remove_resource(JID1)),
|
||||
F = fun () ->
|
||||
Item = get_roster_item(LUser, LServer, LJID),
|
||||
NewState = case Direction of
|
||||
|
Loading…
Reference in New Issue
Block a user