diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.h')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h index 6c97908cbb..6c3bcaa669 100644 --- a/protocols/SkypeWeb/src/skype_proto.h +++ b/protocols/SkypeWeb/src/skype_proto.h @@ -305,7 +305,10 @@ private: void ProcessThreadUpdateRes(const JSONNode &node);
// utils
- inline bool IsOnline();
+ __forceinline bool IsOnline()
+ { return (m_iStatus > ID_STATUS_OFFLINE && m_hPollingThread);
+ }
+
bool IsMe(const char *skypeName);
MEVENT AddEventToDb(MCONTACT hContact, WORD type, DWORD timestamp, DWORD flags, DWORD cbBlob, PBYTE pBlob);
|