Skip to content

Commit

Permalink
Fix chat search by @username (#4541)
Browse files Browse the repository at this point in the history
  • Loading branch information
megrogan authored Oct 10, 2023
1 parent c1d6091 commit db5690b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/openchat-shared/src/domain/user/user.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function userOrUserGroupId(u: UserOrUserGroup): string | undefined {
switch (u.kind) {
case "user":
case "bot":
return u.username;
return u.userId;
default: return undefined;
}
}

0 comments on commit db5690b

Please sign in to comment.