Web app improvements

This commit is contained in:
Ilya Laktyushin
2022-04-06 17:31:41 +04:00
parent 18b791f1c2
commit 5ac4784744
14 changed files with 323 additions and 105 deletions

View File

@@ -67,9 +67,6 @@ extension TelegramUser {
if (flags & (1 << 27)) != 0 {
botFlags.insert(.canBeAddedToAttachMenu)
}
if (flags & (1 << 28)) != 0 {
botFlags.insert(.menuStartsWebView)
}
botInfo = BotUserInfo(flags: botFlags, inlinePlaceholder: botInlinePlaceholder)
}
@@ -127,9 +124,6 @@ extension TelegramUser {
if (flags & (1 << 27)) != 0 {
botFlags.insert(.canBeAddedToAttachMenu)
}
if (flags & (1 << 28)) != 0 {
botFlags.insert(.menuStartsWebView)
}
botInfo = BotUserInfo(flags: botFlags, inlinePlaceholder: botInlinePlaceholder)
}