From ef160df04b9e55727c5fbff9854a2e264d48df02 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 2 May 2021 20:10:02 +0300 Subject: Facebook: fix for reading messages --- protocols/Facebook/src/mqtt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocols/Facebook/src/mqtt.h') 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); -- cgit v1.2.3