changeset 3293:3e37cfdcca73

[gaim-migrate @ 3311] I think this works committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 31 May 2002 07:35:51 +0000
parents a50214dbe88e
children f50db65fda5f
files ChangeLog src/protocols/msn/msn.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri May 31 06:32:14 2002 +0000
+++ b/ChangeLog	Fri May 31 07:35:51 2002 +0000
@@ -25,6 +25,7 @@
 	* Perl scripts can play Gaim sounds (thanks Andrew Rodland)
 	* Internal sounds can be played by commands (thanks Lex Spoon)
 	* Auto-login item in applet menu (thanks Chris Boyle)
+	* Fixed MSN "Unkown Error Code"
 
 version 0.58 (05/13/2002):
 	* Bulgarian translation added (Thanks, Igel Itzo)
--- a/src/protocols/msn/msn.c	Fri May 31 06:32:14 2002 +0000
+++ b/src/protocols/msn/msn.c	Fri May 31 07:35:51 2002 +0000
@@ -354,6 +354,10 @@
 	char buf[MSN_BUF_LEN];
 	struct msn_data *md = gc->proto_data;
 
+	if (strchr(gc->username, '@') != strstr(gc->username, "@hotmail.com"))
+		/* We can only get Hotmail notification from hotmail users */
+		return;
+
 	if (!md->passport) {
 		g_snprintf(buf, sizeof(buf), "URL %d INBOX\r\n", ++md->trId);