Bug 86790 - Systray indicator signals "offline" even though we're connected with invisible
Summary: Systray indicator signals "offline" even though we're connected with invisible
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: libkopete (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-08 13:04 UTC by Till Gerken
Modified: 2004-08-17 02:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Till Gerken 2004-08-08 13:04:23 UTC
Version:           0.8.922 (CVS >= 20040717) (using KDE 3.2.92 (3.3 beta2), compiled sources)
Compiler:          gcc version 3.3.4 (Debian 1:3.3.4-3)
OS:                Linux (i686) release 2.6.5

The systray indicator stays grey even while I am connected as "invisible".
Comment 1 Richard Smith 2004-08-17 00:57:40 UTC
CVS commit by lilachaze: 

Make systray indicator think invisible is like away, not like offline.
Matt: Would you mind backporting this?
CCMAIL: 86790@bugs.kde.org
CCMAIL: matt@matt.rogers.name


  M +3 -2      systemtray.cpp   1.46


--- kdenetwork/kopete/kopete/systemtray.cpp  #1.45:1.46
@@ -286,7 +286,8 @@ void KopeteSystemTray::slotReevaluateAcc
                         bOnline = true; // at least one contact is online
                 }
-                else if (c->onlineStatus().status() == KopeteOnlineStatus::Away)
+                else if (c->onlineStatus().status() == KopeteOnlineStatus::Away
+                      || c->onlineStatus().status() == KopeteOnlineStatus::Invisible)
                 {
-                        bAway = true; // at least one contact is away
+                        bAway = true; // at least one contact is away or invisible
                 }
                 else // this account must be offline (or unknown, which I don't know how to handle)


Comment 2 Matt Rogers 2004-08-17 02:22:33 UTC
CVS commit by mattr: 

Backport the fix for 86790. This should be in KDE 3.3.1

CCMAIL: 86790-done@bugs.kde.org


  M +3 -2      systemtray.cpp   1.45.2.1


--- kdenetwork/kopete/kopete/systemtray.cpp  #1.45:1.45.2.1
@@ -286,7 +286,8 @@ void KopeteSystemTray::slotReevaluateAcc
                         bOnline = true; // at least one contact is online
                 }
-                else if (c->onlineStatus().status() == KopeteOnlineStatus::Away)
+                else if (c->onlineStatus().status() == KopeteOnlineStatus::Away
+                      || c->onlineStatus().status() == KopeteOnlineStatus::Invisible)
                 {
-                        bAway = true; // at least one contact is away
+                        bAway = true; // at least one contact is away or invisible
                 }
                 else // this account must be offline (or unknown, which I don't know how to handle)