diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-09-13 14:32:53 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-09-13 14:32:53 +0000 |
commit | cf0be00671d56bb18118e1491e7c1f0e131e7b3d (patch) | |
tree | 407d1760615f4cf22a4e664f242ae045a4cf8408 /protocols/WhatsApp/src/proto.h | |
parent | 6f20ee4beb6b840ed81489358bca01ed41a0ea56 (diff) |
Patch by Cassio:
Another patch, which fixes last seen timestamps/presence due to a change in WA protocol:
There is no longer a last seen request/response as this info is now received within the presence response.
git-svn-id: http://svn.miranda-ng.org/main/trunk@15345 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/proto.h')
-rw-r--r-- | protocols/WhatsApp/src/proto.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/WhatsApp/src/proto.h b/protocols/WhatsApp/src/proto.h index 0f7000fc5c..7e800cf21c 100644 --- a/protocols/WhatsApp/src/proto.h +++ b/protocols/WhatsApp/src/proto.h @@ -165,9 +165,8 @@ protected: virtual void onMessageError(const FMessage &message, int paramInt) { ; }
virtual void onPing(const std::string &id) throw (WAException);
virtual void onPingResponseReceived() { }
- virtual void onAvailable(const std::string ¶mString, bool paramBoolean);
+ virtual void onAvailable(const std::string ¶mString, bool paramBoolean, int lastSeenTime);
virtual void onClientConfigReceived(const std::string ¶mString) { }
- virtual void onLastSeen(const std::string ¶mString1, int paramInt, const std::string ¶mString2);
virtual void onIsTyping(const std::string ¶mString, bool paramBoolean);
virtual void onAccountChange(int paramInt, time_t expire_date) { }
virtual void onPrivacyBlockListAdd(const std::string ¶mString) { }
|