[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/protocols/jabber
From: Olivier Goffart <ogoffart () kde ! org>
Date: 2008-05-06 14:52:56
Message-ID: 1210085576.223108.10842.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 804596 by ogoffart:
Only modify the name if it is different
M +2 -1 jabberbasecontact.cpp
--- trunk/KDE/kdenetwork/kopete/protocols/jabber/jabberbasecontact.cpp #804595:804596
@@ -111,7 +111,8 @@
if( metaContact() != Kopete::ContactList::self()->myself() )
{
// only update the alias if its not empty
- if ( !item.name().isEmpty () && item.name() != item.jid().bare() )
+ if ( !item.name().isEmpty () && item.name() != item.jid().bare()
+ && metaContact()->customDisplayName() != item.name () )
{
kDebug ( JABBER_DEBUG_GLOBAL ) << "setting display name of " << contactId () << " \
to " << item.name(); metaContact()->setDisplayName ( item.name () );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic