From 8eb1f88c7df4222fbedf7f630b360e0b43852ace Mon Sep 17 00:00:00 2001 From: zubiden <19638254+zubiden@users.noreply.github.com> Date: Tue, 31 Dec 2024 03:14:30 +0100 Subject: [PATCH] Deep Link: Use new parser for public message links (#5390) --- src/util/deeplink.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/util/deeplink.ts b/src/util/deeplink.ts index 14575dbb4..f40ec7a08 100644 --- a/src/util/deeplink.ts +++ b/src/util/deeplink.ts @@ -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);