aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp-vala/src/module')
-rw-r--r--xmpp-vala/src/module/presence/module.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmpp-vala/src/module/presence/module.vala b/xmpp-vala/src/module/presence/module.vala
index ef5f4d74..3488f532 100644
--- a/xmpp-vala/src/module/presence/module.vala
+++ b/xmpp-vala/src/module/presence/module.vala
@@ -82,6 +82,7 @@ namespace Xmpp.Presence {
received_subscription_request(stream, presence.from);
break;
case Presence.Stanza.TYPE_UNSUBSCRIBE:
+ stream.get_flag(Flag.IDENTITY).remove_presence(presence.from);
received_unsubscription(stream, presence.from);
break;
}