24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-06 21:37:17 +02:00

Let deliver unsubscribe stanza when no roster push is required (#2598)

This commit is contained in:
Badlop 2018-11-19 17:31:35 +01:00
parent 2b9c7ed407
commit 86048f8a25

View File

@ -623,6 +623,8 @@ process_subscription(Direction, User, Server, JID1,
push_item(jid:make(User, Server), OldItem, NewItem)
end,
true;
none when (Direction == in) and (Type == unsubscribe) ->
true;
none ->
false
end;