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

List:       kde-commits
Subject:    kdenetwork/kopete/protocols/msn
From:       Olivier Goffart <ogoffart () kde ! org>
Date:       2005-01-27 17:41:28
Message-ID: 20050127174128.B030F1D16A () office ! kde ! org
[Download RAW message or body]

CVS commit by ogoffart: 

Fix Bug 93537: MSN group conversation when display names (nicknames) are unkown

In fact, the name might be known, but i was setting it badly.

BUG: 93537


  M +2 -3      msnmessagemanager.cpp   1.115


--- kdenetwork/kopete/protocols/msn/msnmessagemanager.cpp  #1.114:1.115
@@ -167,10 +167,9 @@ void MSNChatSession::slotUserJoined( con
 {
         if( !account()->contacts()[ handle ] )
-                account()->addContact( handle, publicName, 0L, \
Kopete::Account::Temporary); +                account()->addContact( handle, \
QString::null, 0L, Kopete::Account::Temporary);  
         MSNContact *c = static_cast<MSNContact*>( account()->contacts()[ handle ] );
 
-        if( c->property( \
                Kopete::Global::Properties::self()->nickName()).value().toString() != \
                publicName)
-                c->rename(publicName);
+        c->setProperty( Kopete::Global::Properties::self()->nickName() , \
publicName);  
         addContact(c , IRO); // don't show notificaions when we join wesalef


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

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