mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 19:55:12 +00:00
Merge branch 'develop' of https://github.com/syuilo/misskey into develop
This commit is contained in:
commit
a62e2b83ff
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ export default async (username: string, _host: string, option?: any): Promise<IU
|
|||
const host = toUnicode(hostAscii);
|
||||
|
||||
if (config.host == host) {
|
||||
return await User.findOne({ usernameLower });
|
||||
return await User.findOne({ usernameLower, host: null });
|
||||
}
|
||||
|
||||
let user = await User.findOne({ usernameLower, host }, option);
|
||||
|
|
Loading…
Reference in a new issue