Bug 58048

Summary: kopete doing strange things with MSN contacts...
Product: [Unmaintained] kopete Reporter: aragorn
Component: MSN PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description aragorn 2003-05-03 05:37:43 UTC
Version:           0.6.90cvs >= 20030426 (using KDE 3.1.9)
Compiler:          gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
OS:          Linux (i686) release 2.4.20

Kopete dissapeared my MSN contacts, i dont know if it erased them from the server, but my lists are empty !! :(...if some of my contact open a chat it appears in a section named: Not in your contact list

	Keep up the great job...

	Cheers...
Comment 1 Olivier Goffart 2003-05-03 09:19:11 UTC
This problem may happen because you have deleted the contactlist.xml 
The contactlist is not automaticaly retreived from server to  
to retreive the contactlist from server, two solution:  
1) in the msn's debug menu: send raw command: command: SYN and paramettre 0 
2) edit accounts.xml and remove the contactlist's serial (set it to 0) 
if that still not work there is a problem... 
Comment 2 Olivier Goffart 2003-06-07 10:44:27 UTC
Subject: kdenonbeta/kopete/protocols/msn

CVS commit by ogoffart: 

Force to reload the contactlist from server if the contactlist.xml file 
has been deleted

CCMAIL: 58048-done@bugs.kde.org


  M +8 -0      msnaccount.cpp   1.27


--- kdenonbeta/kopete/protocols/msn/msnaccount.cpp  #1.26:1.27
@@ -107,4 +107,12 @@ void MSNAccount::connect()
         m_badpassword=false;
 
+        if(contacts().count() <= 1)
+        {
+                //Maybe the contactlist.xml has been removed, and the serial 
number not updated
+                // (the 1 is for the myself contact)
+                setPluginData(protocol() , "serial" , "0" );
+        }
+
+
         m_notifySocket = new MSNNotifySocket( this, accountId() );