Merge pull request #10857 from mariogasparoni/v2.2.x-release
Filter 'name' field in user's search
This commit is contained in:
commit
0b34c4fa81
@ -37,7 +37,7 @@ export default withTracker(() => {
|
||||
callerName, talking, color, voiceUserId, muted, intId,
|
||||
} = usersTalking[i];
|
||||
|
||||
const user = Users.findOne({ userId: voiceUserId });
|
||||
const user = Users.findOne({ userId: voiceUserId }, { fields: { name: 1 } });
|
||||
|
||||
const _name = user ? user.name : 'USER';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user