[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    [Kopete-devel] MSN: Hotmail Inbox
From:       Paul Grace <paulgrace () mbox ! com ! au>
Date:       2003-01-28 9:47:57
[Download RAW message or body]

Hi,

Firstly, If you have mail in you junk mail (or other folder) kopete will tell 
you you have 0 messages in your inbox and ask you if you want to view it. 
Here is a patch that only asks you if you have mail in your inbox, other 
folders are not supposed to be counted.

Secondly, I had a go at fixing it, but hopefully someone that knows the MSN 
code abit more would know whats going on. Hotmail users (@hotmail.com 
addresses) can login to their accounts fine, but people with a MSN account 
(@msn.com) can't login, it asks for a password. The only thing I could find 
is that when the MSN plugin writes the HTML file to automatically login to 
Hotmail it cuts off the userid so joe@hotmail.com becomes joe, if you 
understand.

Anyway I changed that so it wrote the entire e-mail address and thats still 
not the solution, perhaps it has something to do with the auth and creds 
field?

Any ideas?

Regards,

Paul Grace.
["kopete-msn_inbox_notification.diff" (text/x-diff)]

Index: kdenonbeta/kopete/protocols/msn/msnnotifysocket.cpp
===================================================================
RCS file: /home/kde/kdenonbeta/kopete/protocols/msn/msnnotifysocket.cpp,v
retrieving revision 1.69
diff -u -r1.69 msnnotifysocket.cpp
--- kdenonbeta/kopete/protocols/msn/msnnotifysocket.cpp	20 Jan 2003 21:41:46 \
                -0000	1.69
+++ kdenonbeta/kopete/protocols/msn/msnnotifysocket.cpp	26 Jan 2003 02:22:07 -0000
@@ -379,7 +379,10 @@
 
 		if(MSNPreferences::mailNotifications())
 		{
-			int answer=KMessageBox::questionYesNo( 0l, i18n( "<qt>You have %1 unread messages \
in your inbox.<br>Would you like to open your inbox now?</qt>" ).arg(mailCount), \
i18n( "MSN Plugin" ) ); +			int answer = KMessageBox::No;
+
+			if(mailCount != 0)
+				answer = KMessageBox::questionYesNo( 0l, i18n( "<qt>You have %1 unread messages \
in your inbox.<br>Would you like to open your inbox now?</qt>" ).arg(mailCount), \
i18n( "MSN Plugin" ) );  
 			if(answer==KMessageBox::Yes)
 			{


_______________________________________________
Kopete-devel mailing list
Kopete-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kopete-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic