diff options
author | George Hazan <ghazan@miranda.im> | 2021-05-02 20:10:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-05-02 20:10:02 +0300 |
commit | ef160df04b9e55727c5fbff9854a2e264d48df02 (patch) | |
tree | 460c94851f4ab01cd41dbb583704aa7327f05ffc /protocols/Facebook/src/mqtt.h | |
parent | bbb01adcd4c89ca377bfec17c2b572ecce84498c (diff) |
Facebook: fix for reading messages
Diffstat (limited to 'protocols/Facebook/src/mqtt.h')
-rw-r--r-- | protocols/Facebook/src/mqtt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Facebook/src/mqtt.h b/protocols/Facebook/src/mqtt.h index 824f54db85..80ab5a31ad 100644 --- a/protocols/Facebook/src/mqtt.h +++ b/protocols/Facebook/src/mqtt.h @@ -88,6 +88,8 @@ class FbThriftReader : public FbThrift uint8_t decodeType(int type); public: + __forceinline CMStringA rest() const { return CMStringA((char*)data() + offset, int(size() - offset)); } + bool isStop(); bool readBool(bool &bVal); bool readByte(uint8_t &val); |