Deep Link: Use new parser for public message links (#5390)

This commit is contained in:
zubiden 2024-12-31 03:14:30 +01:00 committed by Alexander Zinchuk
parent f7e316f0b3
commit 8eb1f88c7d

View File

@ -16,6 +16,15 @@ export const processDeepLink = (url: string): boolean => {
case 'privateMessageLink':
handlePrivateMessageLink(parsedLink, actions);
return true;
case 'publicMessageLink': {
actions.openChatByUsername({
username: parsedLink.username,
threadId: parsedLink.threadId,
messageId: parsedLink.messageId,
commentId: parsedLink.commentId,
});
return true;
}
case 'publicUsernameOrBotLink': {
const choose = parseChooseParameter(parsedLink.choose);