This commit is contained in:
tamaina 2025-08-30 19:22:23 +09:00
parent 7b3e6ee0cb
commit 8e5a967f01
1 changed files with 5 additions and 7 deletions

View File

@ -84,13 +84,11 @@ export class ApDbResolverService implements OnApplicationShutdown {
try { try {
const acct = misskey.acct.parseUrl(uri.toString()); const acct = misskey.acct.parseUrl(uri.toString());
if (acct) {
return { return {
local: this.utilityService.isSelfHost(acct.host), local: this.utilityService.isSelfHost(acct.host),
type: 'acct', type: 'acct',
acct, acct,
}; };
}
} finally { } finally {
// no-op // no-op
} }