v0.3.7 @mentions lookup fix
This commit is contained in:
@@ -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(() => {});
|
||||
|
||||
Reference in New Issue
Block a user