summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/proto.h')
-rw-r--r--protocols/FacebookRM/src/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/proto.h b/protocols/FacebookRM/src/proto.h
index 09797e1481..067a302e6f 100644
--- a/protocols/FacebookRM/src/proto.h
+++ b/protocols/FacebookRM/src/proto.h
@@ -53,7 +53,7 @@ public:
inline int IdleSeconds()
{
- if (m_iStatus == ID_STATUS_AWAY && m_awayTS)
+ if ((m_iStatus == ID_STATUS_AWAY || m_iStatus == ID_STATUS_INVISIBLE) && m_awayTS)
return time(0) - m_awayTS;
return m_idleTS ? time(0) - m_idleTS : 0;