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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/jabber
From:       Urs Wolfer <uwolfer () kde ! org>
Date:       2008-06-02 21:11:43
Message-ID: 1212441103.309280.17266.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 815948 by uwolfer:

Fix for Google Talk contacts: Google Talk does not provide the Jabber nickname \
property. If nickname property is empty, take fullname as nickname (which will be \
shown in the contact list). Reviewed and okay'ed by mattr.

 M  +4 -0      jabberbasecontact.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/jabber/jabberbasecontact.cpp #815947:815948
@@ -424,6 +424,10 @@
 		{
 			setProperty ( protocol()->propNickName, vCard.nickName () );
 		}
+		else if ( !vCard.fullName().isEmpty () ) // google talk contacts for example do \
not have a nickname; better show fullname instead of jabber id +		{
+			setProperty ( protocol()->propNickName, vCard.fullName () );
+		}
 		else
 		{
 			removeProperty ( protocol()->propNickName );


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

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