nickname
This commit is contained in:
@@ -51,6 +51,7 @@ export const getChannelMembers = query({
|
||||
members.push({
|
||||
id: user._id,
|
||||
username: user.username,
|
||||
displayName: user.displayName || null,
|
||||
status: user.status || "offline",
|
||||
roles: roles.sort((a, b) => b.position - a.position),
|
||||
avatarUrl,
|
||||
@@ -77,6 +78,7 @@ export const listAll = query({
|
||||
results.push({
|
||||
id: user._id,
|
||||
username: user.username,
|
||||
displayName: user.displayName || null,
|
||||
status: user.status || "offline",
|
||||
avatarUrl,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user