]> granicus.if.org Git - ejabberd/commitdiff
Revert "Let deliver unsubscribe stanza when no roster push is required (#2598)"
authorBadlop <badlop@process-one.net>
Wed, 5 Dec 2018 11:17:16 +0000 (12:17 +0100)
committerBadlop <badlop@process-one.net>
Wed, 5 Dec 2018 11:17:16 +0000 (12:17 +0100)
This reverts commit 86048f8a25ea820113a35350936b59ea9083c59f.

src/mod_roster.erl

index f5b8e6a1923b85ebc786807502d4f25a2db51290..1f42b69e0e1c23af9b1bdb0454e40cc67f52a472 100644 (file)
@@ -623,8 +623,6 @@ 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;