diff mcabber/src/hooks.c @ 603:9516db839e08

Store subscription data
author Mikael Berthe <mikael@lilotux.net>
date Thu, 15 Dec 2005 12:52:37 +0100
parents 5a685e9012b4
children d3020b2c4da2
line wrap: on
line diff
--- a/mcabber/src/hooks.c	Thu Dec 15 00:14:56 2005 +0100
+++ b/mcabber/src/hooks.c	Thu Dec 15 12:52:37 2005 +0100
@@ -67,7 +67,7 @@
   roster_usr = roster_find(jid, jidsearch, 0);
   if (!roster_usr) {
     new_guy = TRUE;
-    roster_usr = roster_add_user(jid, NULL, NULL, rtype);
+    roster_usr = roster_add_user(jid, NULL, NULL, rtype, sub_none);
     if (!roster_usr) { // Shouldn't happen...
       scr_LogPrint(LPRINT_LOGNORM, "ERROR: unable to add buddy!");
       if (bmsg) g_free(bmsg);