diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-12-12 08:21:26 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-12-12 08:21:26 +0000 |
commit | b0b34d3e9627301f77a6e225dc04465dae998d95 (patch) | |
tree | bfb53dc39018137608faca059cfb7d381acb7fdd /protocols/FacebookRM/src/proto.cpp | |
parent | 09a54576390417d41ae37b574047466b260cfd72 (diff) |
Facebook: Support for "away" status (behaves just like being idle in Miranda); version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@15842 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index da175d799a..de58eec7be 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -152,7 +152,7 @@ DWORD_PTR FacebookProto::GetCaps(int type, MCONTACT) return flags |= PF1_MODEMSGRECV; } case PFLAGNUM_2: - return PF2_ONLINE | PF2_INVISIBLE | PF2_ONTHEPHONE | PF2_IDLE; // | PF2_SHORTAWAY; + return PF2_ONLINE | PF2_SHORTAWAY | PF2_INVISIBLE | PF2_ONTHEPHONE | PF2_IDLE; case PFLAGNUM_3: if (getByte(FACEBOOK_KEY_SET_MIRANDA_STATUS)) return PF2_ONLINE; // | PF2_SHORTAWAY; @@ -181,6 +181,7 @@ int FacebookProto::SetStatus(int new_status) // Routing statuses not supported by Facebook switch (new_status) { + case ID_STATUS_AWAY: case ID_STATUS_INVISIBLE: case ID_STATUS_OFFLINE: m_iDesiredStatus = new_status; |