v0.3.7 @mentions lookup fix

This commit is contained in:
2026-03-09 22:53:08 -04:00
parent 08d57309ae
commit 27bee43f89
7 changed files with 35 additions and 12 deletions

View File

@@ -105,7 +105,7 @@ export default function MessageInput({ group, replyTo, onCancelReply, onSend, on
mentionStart.current = lastAt;
setMentionSearch(between);
setShowMention(true);
api.searchUsers(between).then(({ users }) => {
api.searchUsers(between, group?.id).then(({ users }) => {
setMentionResults(users);
setMentionIndex(0);
}).catch(() => {});