2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Inform about join request being sent.

This commit is contained in:
John Preston
2021-10-12 16:50:18 +04:00
parent 3af3f85f82
commit 9e05e44a14
27 changed files with 197 additions and 126 deletions

View File

@@ -149,12 +149,18 @@ WebPageType ParseWebPageType(
return WebPageType::Theme;
} else if (type == qstr("telegram_channel")) {
return WebPageType::Channel;
} else if (type == qstr("telegram_channel_request")) {
return WebPageType::ChannelWithRequest;
} else if (type == qstr("telegram_megagroup")
|| type == qstr("telegram_chat")) {
return WebPageType::Group;
} else if (type == qstr("telegram_megagroup_request")
|| type == qstr("telegram_chat_request")) {
return WebPageType::GroupWithRequest;
} else if (type == qstr("telegram_message")) {
return WebPageType::Message;
} else if (type == qstr("telegram_bot")) {
return WebPageType::Bot;
} else if (type == qstr("telegram_megagroup")) {
return WebPageType::Group;
} else if (type == qstr("telegram_voicechat")) {
return WebPageType::VoiceChat;
} else if (type == qstr("telegram_livestream")) {