[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/libkopete
From: Pali Rohár <pali.rohar () gmail ! com>
Date: 2012-04-15 11:22:21
Message-ID: 20120415112221.2B703AC89B () svn ! kde ! org
[Download RAW message or body]
SVN commit 1289685 by pali:
Do not update onlineSince property if contact changes status to unknown
This patch fixing bug when unauthorized icq contacts had invalid onlineSince property
M +2 -1 kopetecontact.cpp
--- trunk/KDE/kdenetwork/kopete/libkopete/kopetecontact.cpp #1289684:1289685
@@ -149,8 +149,9 @@
Kopete::Global::Properties *globalProps = Kopete::Global::Properties::self();
- // Contact changed from Offline to another status
+ // Contact changed from Offline to another known online status
if( oldStatus.status() == OnlineStatus::Offline &&
+ status.status() != OnlineStatus::Unknown &&
status.status() != OnlineStatus::Offline )
{
if ( !hasProperty( globalProps->onlineSince().key() ) )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic