diff mcabber/src/jabglue.c @ 610:0e8247cf2bd1

Consider buddies as offline when they have cancelled our subscription
author Mikael Berthe <mikael@lilotux.net>
date Thu, 15 Dec 2005 19:56:19 +0100
parents 85648a0f963e
children ad737139a144
line wrap: on
line diff
--- a/mcabber/src/jabglue.c	Thu Dec 15 18:51:06 2005 +0100
+++ b/mcabber/src/jabglue.c	Thu Dec 15 19:56:19 2005 +0100
@@ -1256,6 +1256,7 @@
   } else if (!strcmp(type, "unsubscribed")) {
     scr_LogPrint(LPRINT_LOGNORM, "<%s> has unsubscribed from your presence "
                  "updates", from);
+    roster_unsubscribed(from);
   } else {
     scr_LogPrint(LPRINT_LOGNORM, "Received (un)subscription packet from <%s>"
                  " (type=%s)", from, (type ? type : ""));