diff --git a/server/chat-plugins/friends.ts b/server/chat-plugins/friends.ts index 19001be80f..7c2e619664 100644 --- a/server/chat-plugins/friends.ts +++ b/server/chat-plugins/friends.ts @@ -29,7 +29,7 @@ export const Friends = new class { if (pendingCount < 1) return; if (pendingCount === 1) { const sender = [...friendRequests.received][0]; - const senderName = Users.get(sender)?.name || sender; + const senderName = Users.getExact(sender)?.name || sender; let buf = Utils.html`/uhtml sent, | `; buf += Utils.html`
`; buf += `(You can also stop this user from sending you friend requests with /ignore)`;