diff options
author | George Hazan <george.hazan@gmail.com> | 2025-06-22 19:32:45 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-06-22 19:32:45 +0300 |
commit | 40eb6363bb4e66bbd3bbc1e4191baaa46e1c21c0 (patch) | |
tree | e31488defdcf5306a4d8c46fed8d717f5fa8d8b0 /protocols/Telegram/src/utils.cpp | |
parent | a1cce76d8dfd272f3482f9d640606fcd3ca03234 (diff) |
fixes #5051 (Telegram: нет возможности увидеть ссылку на канал)
Diffstat (limited to 'protocols/Telegram/src/utils.cpp')
-rw-r--r-- | protocols/Telegram/src/utils.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/Telegram/src/utils.cpp b/protocols/Telegram/src/utils.cpp index 2fbf18c2f2..ed9b37473d 100644 --- a/protocols/Telegram/src/utils.cpp +++ b/protocols/Telegram/src/utils.cpp @@ -381,6 +381,12 @@ void CTelegramProto::UpdateString(MCONTACT hContact, const char *pszSetting, con setUString(hContact, pszSetting, str.c_str());
}
+TG_SUPER_GROUP* CTelegramProto::FindSuperGroup(int64_t id)
+{
+ TG_SUPER_GROUP tmp(id, 0);
+ return m_arSuperGroups.find(&tmp);
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
// Users
|