aboutsummaryrefslogtreecommitdiff
path: root/src/mod_roster.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_roster.erl')
-rw-r--r--src/mod_roster.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mod_roster.erl b/src/mod_roster.erl
index 1f42b69e0..f5b8e6a19 100644
--- a/src/mod_roster.erl
+++ b/src/mod_roster.erl
@@ -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;