diff options
author | George Hazan <george.hazan@gmail.com> | 2024-04-19 12:53:36 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-04-19 12:53:36 +0300 |
commit | ab21ce3ccfe7d076d6de1606b280690e9399b59f (patch) | |
tree | 54017e79682c2c3b19fc1713839cbeaa80b98056 /protocols/Telegram/src/proto.h | |
parent | 99f6af5d383916168d6edb1b7a05fd64b633f03b (diff) |
Telegram: part of events aren't marked read during history load
Diffstat (limited to 'protocols/Telegram/src/proto.h')
-rw-r--r-- | protocols/Telegram/src/proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Telegram/src/proto.h b/protocols/Telegram/src/proto.h index 2fcc8b65d6..a917ed4457 100644 --- a/protocols/Telegram/src/proto.h +++ b/protocols/Telegram/src/proto.h @@ -281,10 +281,10 @@ class CTelegramProto : public PROTO<CTelegramProto> void UnregisterSession(); - bool GetMessageFile(TG_FILE_REQUEST::Type, TG_USER *pUser, const TD::file *pFile, const char *pszFileName, const std::string &caption, const char *szId, const char *szUser, const TD::message *pMsg); + bool GetMessageFile(TG_FILE_REQUEST::Type, TG_USER *pUser, const TD::file *pFile, const char *pszFileName, const std::string &caption, const char *szId, const char *szUser, const TD::message *pMsg, bool bRead); CMStringA GetMessagePreview(const TD::file *pFile); CMStringA GetMessageSticker(const TD::file *pFile, const char *pwszExtension); - CMStringA GetMessageText(TG_USER *pUser, const TD::message *pMsg, bool bSkipJoin = false); + CMStringA GetMessageText(TG_USER *pUser, const TD::message *pMsg, bool bSkipJoin = false, bool bRead = false); void UpdateString(MCONTACT hContact, const char *pszSetting, const std::string &str); |