Deep Link: Use new parser for public message links (#5390)
This commit is contained in:
parent
f7e316f0b3
commit
8eb1f88c7d
@ -16,6 +16,15 @@ export const processDeepLink = (url: string): boolean => {
|
|||||||
case 'privateMessageLink':
|
case 'privateMessageLink':
|
||||||
handlePrivateMessageLink(parsedLink, actions);
|
handlePrivateMessageLink(parsedLink, actions);
|
||||||
return true;
|
return true;
|
||||||
|
case 'publicMessageLink': {
|
||||||
|
actions.openChatByUsername({
|
||||||
|
username: parsedLink.username,
|
||||||
|
threadId: parsedLink.threadId,
|
||||||
|
messageId: parsedLink.messageId,
|
||||||
|
commentId: parsedLink.commentId,
|
||||||
|
});
|
||||||
|
return true;
|
||||||
|
}
|
||||||
case 'publicUsernameOrBotLink': {
|
case 'publicUsernameOrBotLink': {
|
||||||
const choose = parseChooseParameter(parsedLink.choose);
|
const choose = parseChooseParameter(parsedLink.choose);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user