summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-11-04 14:15:29 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-11-04 14:15:29 +0300
commit1f56c2625794b54dacb3f19a7a1cb8c6315e7aa0 (patch)
tree95e9e04bb1712d1ceab8adbd3731978af8185ded
parent1d373680c4505f430347fdc5b8785502a85cc5c4 (diff)
fixes #4770 (Telegram: ссылка на видео приходит без ссылки)
-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 bcb62ccf81..65d9292d68 100644
--- a/protocols/Telegram/src/utils.cpp
+++ b/protocols/Telegram/src/utils.cpp
@@ -96,6 +96,7 @@ CMStringA CTelegramProto::GetFormattedText(TD::object_ptr<TD::formattedText> &pT
case TD::textEntityTypeItalic::ID: iCode = 1; break;
case TD::textEntityTypeStrikethrough::ID: iCode = 2; break;
case TD::textEntityTypeUnderline::ID: iCode = 3; break;
+ case TD::textEntityTypeTextUrl::ID: iCode = 4; break;
case TD::textEntityTypeCode::ID: iCode = 5; break;
case TD::textEntityTypeBlockQuote::ID: iCode = 6; break;
default: