summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-04-07 21:22:03 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-04-07 21:22:03 +0300
commit9452972b405d16a3f08667654242c06f97c4f672 (patch)
treeb97caff7d51377990428a3769265e0a937b40be8 /protocols
parent014c4b42f3916960a316f892b105fb2585f6e4ce (diff)
fixes #4331 (Telegram: не работает автоскачивание файлов)
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Telegram/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/utils.cpp b/protocols/Telegram/src/utils.cpp
index f3416fbf46..23ba195a1e 100644
--- a/protocols/Telegram/src/utils.cpp
+++ b/protocols/Telegram/src/utils.cpp
@@ -426,7 +426,7 @@ bool CTelegramProto::GetMessageFile(
szDesc = caption.c_str();
if (pMsg->is_outgoing_)
dbei.flags |= DBEF_SENT;
- if (Contact::IsGroupChat(pRequest->m_hContact) || !pUser->bInited)
+ if (!pUser->bInited)
dbei.flags |= DBEF_READ;
if (pMsg->reply_to_message_id_) {
_i64toa(pMsg->reply_to_message_id_, szReplyId, 10);