summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-09-13 20:48:39 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-09-13 20:48:39 +0300
commitccc539fdfad925e21361baf36ae0af5eb81b85b4 (patch)
treec4f04aada703f69e2738dc3cae41cdb89266dbd0 /protocols/Telegram/src/utils.cpp
parentc3e59b8daf2b44e9ff1d89d085a69f37d2c17bee (diff)
fixes #4662 (Telegram: при отправке ссылки вылезают ошмётки тегов)
Diffstat (limited to 'protocols/Telegram/src/utils.cpp')
-rw-r--r--protocols/Telegram/src/utils.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Telegram/src/utils.cpp b/protocols/Telegram/src/utils.cpp
index b57bed69a9..0a1337da68 100644
--- a/protocols/Telegram/src/utils.cpp
+++ b/protocols/Telegram/src/utils.cpp
@@ -488,6 +488,7 @@ CMStringA CTelegramProto::GetMessageSticker(const TD::file *pFile, const char *p
auto *pFileId = pFile->remote_->unique_id_.c_str();
auto *pRequest = new TG_FILE_REQUEST(TG_FILE_REQUEST::AVATAR, pFile->id_, pFileId);
+ pRequest->m_isSmiley = true;
pRequest->m_destPath = GetAvatarPath() + L"\\Stickers";
CreateDirectoryW(pRequest->m_destPath, 0);