nickname
This commit is contained in:
@@ -50,6 +50,7 @@ export const listDMs = query({
|
||||
channel_name: v.string(),
|
||||
other_user_id: v.string(),
|
||||
other_username: v.string(),
|
||||
other_displayName: v.union(v.string(), v.null()),
|
||||
other_user_status: v.optional(v.string()),
|
||||
other_user_avatar_url: v.optional(v.union(v.string(), v.null())),
|
||||
})
|
||||
@@ -85,6 +86,7 @@ export const listDMs = query({
|
||||
channel_name: channel.name,
|
||||
other_user_id: otherUser._id as string,
|
||||
other_username: otherUser.username,
|
||||
other_displayName: otherUser.displayName || null,
|
||||
other_user_status: otherUser.status || "offline",
|
||||
other_user_avatar_url: avatarUrl,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user