[gaim-migrate @ 9999]

Sun, 06 Jun 2004 04:15:32 +0000

author
Christian Hammond <chipx86@chipx86.com>
date
Sun, 06 Jun 2004 04:15:32 +0000
changeset 9204
ad0fd21606d5
parent 9203
fd6856eee9b8
child 9205
8c4dbbe6386f

[gaim-migrate @ 9999]
Let's prevent a disconnect caused from the commit I did earlier. Only set
the group to 0 if the list is FL. Otherwise, don't pass it along.

src/protocols/msn/notification.c file | annotate | diff | comparison | revisions
--- a/src/protocols/msn/notification.c	Sun Jun 06 04:12:30 2004 +0000
+++ b/src/protocols/msn/notification.c	Sun Jun 06 04:15:32 2004 +0000
@@ -1142,11 +1142,18 @@
 	MsnCmdProc *cmdproc;
 	cmdproc = notification->servconn->cmdproc;
 
-	if (group_id < 0)
+	if (group_id < 0 && !strcmp(list, "FL"))
 		group_id = 0;
 
-	msn_cmdproc_send(cmdproc, "ADD", "%s %s %s %d",
-					 list, who, store_name, group_id);
+	if (group_id >= 0)
+	{
+		msn_cmdproc_send(cmdproc, "ADD", "%s %s %s %d",
+						 list, who, store_name, group_id);
+	}
+	else
+	{
+		msn_cmdproc_send(cmdproc, "ADD", "%s %s %s", list, who, store_name);
+	}
 }
 
 void

mercurial