From 8b3c6e267212dba26467688b188e05e7df125cc7 Mon Sep 17 00:00:00 2001 From: Jakz Date: Tue, 24 Oct 2023 12:53:52 -1000 Subject: [PATCH] fix regression --- apps/mobile/src/hooks/useMentionableMessage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/src/hooks/useMentionableMessage.ts b/apps/mobile/src/hooks/useMentionableMessage.ts index d557614ce2..895efa92bd 100644 --- a/apps/mobile/src/hooks/useMentionableMessage.ts +++ b/apps/mobile/src/hooks/useMentionableMessage.ts @@ -123,7 +123,7 @@ export function useMentionableMessage(queryRef: useMentionableMessageQueryFragme } if (wordAtCursor && wordAtCursor?.length > 1) { - setAliasKeyword(wordAtCursor.slice(1)); // Remove the @ + setAliasKeyword(wordAtCursor); } // Determine how many characters were added or removed