Message Links: Fix opening message links in the application (#4910)
This commit is contained in:
parent
005a6fca93
commit
0685adbfe8
@ -1365,7 +1365,7 @@ addActionHandler('openTelegramLink', async (global, actions, payload): Promise<v
|
||||
|
||||
const isWebApp = await checkWebAppExists(global, part1, part2);
|
||||
|
||||
const shouldTryOpenChat = (part1 && !part2) || isWebApp;
|
||||
const shouldTryOpenChat = (part1 && !part2) || Number.isInteger(Number(part2)) || isWebApp;
|
||||
|
||||
if (params.hasOwnProperty('voicechat') || params.hasOwnProperty('livestream')) {
|
||||
joinVoiceChatByLink({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user