changeset 7563:cb9c3b6d6de9

[gaim-migrate @ 8179] Fixed unblocking of users in MSN (Thanks Robert Mibus) committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 19 Nov 2003 00:33:01 +0000
parents b859cfb5f31a
children 54b370f7d9bf
files ChangeLog src/protocols/msn/msn.c
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Nov 18 23:28:40 2003 +0000
+++ b/ChangeLog	Wed Nov 19 00:33:01 2003 +0000
@@ -9,6 +9,7 @@
 	* Fixes several Jabber bugs
 	* Fixes the bug where some dialogs would crash when spell checking was
 	  enabled. Closes #827930.
+	* Fixed unblocking of users in MSN (Robert Mibus)
 	* Fixes outgoing mobile pages on MSN.
 	* The border on the close buttons on inactive tabs are no longer shown,
 	  thanks to a fix used by Galeon.
--- a/src/protocols/msn/msn.c	Tue Nov 18 23:28:40 2003 +0000
+++ b/src/protocols/msn/msn.c	Wed Nov 19 00:33:01 2003 +0000
@@ -848,12 +848,21 @@
 
 	g_snprintf(buf, sizeof(buf), "BL %s", who);
 
-	if (!msn_servconn_send_command(session->notification_conn, "REM", buf)) {
+	if (!msn_servconn_send_command(session->notification_conn, "REM", buf))
+	{
 		gaim_connection_error(gc, _("Write error"));
 		return;
 	}
 
 	gaim_privacy_permit_add(gc->account, who, TRUE);
+
+	g_snprintf(buf, sizeof(buf), "AL %s", who);
+
+	if (!msn_servconn_send_command(session->notification_conn, "ADD", buf))
+	{
+		gaim_connection_error(gc, _("Write error"));
+		return;
+	}
 }
 
 static void