summaryrefslogtreecommitdiff
path: root/src/mod_roster.erl
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2018-12-05 12:17:16 +0100
committerBadlop <badlop@process-one.net>2018-12-05 12:17:16 +0100
commit0ae3f624ca82554764053ccc34bc225c6550a235 (patch)
treeb5cf6e2de7a2add2c0672e5ac6c0ed38d6c309fe /src/mod_roster.erl
parentLet deliver unsubscribe stanza when no roster push is required (#2598) (diff)
Revert "Let deliver unsubscribe stanza when no roster push is required (#2598)"
Diffstat (limited to 'src/mod_roster.erl')
-rw-r--r--src/mod_roster.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mod_roster.erl b/src/mod_roster.erl
index f5b8e6a1..1f42b69e 100644
--- a/src/mod_roster.erl
+++ b/src/mod_roster.erl
@@ -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;