mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-04-13 09:44:40 +00:00
merge: Fix lookup for users with capitalized usernames on remote sharkey instances (!936)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/936 Closes #992 Approved-by: Hazelnoot <acomputerdog@gmail.com> Approved-by: dakkar <dakkar@thenautilus.net>
This commit is contained in:
commit
8ecd924026
1 changed files with 1 additions and 1 deletions
|
@ -826,7 +826,7 @@ export class ActivityPubServerService {
|
|||
const acct = Acct.parse(request.params.acct);
|
||||
|
||||
const user = await this.usersRepository.findOneBy({
|
||||
usernameLower: acct.username,
|
||||
usernameLower: acct.username.toLowerCase(),
|
||||
host: acct.host ?? IsNull(),
|
||||
isSuspended: false,
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue