Skip to content

Commit 8eb1f88

Browse files
zubidenAjaxy
authored andcommitted
Deep Link: Use new parser for public message links (#5390)
1 parent f7e316f commit 8eb1f88

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/util/deeplink.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ export const processDeepLink = (url: string): boolean => {
1616
case 'privateMessageLink':
1717
handlePrivateMessageLink(parsedLink, actions);
1818
return true;
19+
case 'publicMessageLink': {
20+
actions.openChatByUsername({
21+
username: parsedLink.username,
22+
threadId: parsedLink.threadId,
23+
messageId: parsedLink.messageId,
24+
commentId: parsedLink.commentId,
25+
});
26+
return true;
27+
}
1928
case 'publicUsernameOrBotLink': {
2029
const choose = parseChooseParameter(parsedLink.choose);
2130

0 commit comments

Comments
 (0)