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

List:       kde-bugs-dist
Subject:    [Bug 116614] away messages are clobbered depending on the order they
From:       Jan Ritzerfeld <kde () bugs ! jan ! ritzerfeld ! net>
Date:       2006-05-03 10:10:57
Message-ID: 20060503101057.32584.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=116614         




------- Additional Comments From kde bugs jan ritzerfeld net  2006-05-03 12:10 -------
SVN commit 536812 by jritzerfeld:

Remove the away message property of an icq contact when it goes 
online, i.e. it was offline and changes its status to something else than 
offline or unknown.

CCBUG: 116614


 M  +4 -0      icqcontact.cpp  


--- branches/kopete/0.12/kopete/protocols/oscar/icq/icqcontact.cpp #536811:536812
 @ -117,6 +117,10  @
 	if ( Oscar::normalize( contact  ) != Oscar::normalize( contactId() ) )
 		return;
 
+	// invalidate old away message if user was offline
+	if ( !isOnline() )
+		removeProperty( mProtocol->awayMessage );
+
 	kdDebug( OSCAR_ICQ_DEBUG ) << k_funcinfo << "extendedStatus is " << details.extendedStatus() << endl;
 	ICQ::Presence presence = ICQ::Presence::fromOscarStatus( details.extendedStatus() & 0xffff );
 	setOnlineStatus( presence.toOnlineStatus() );
[prev in list] [next in list] [prev in thread] [next in thread] 

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