mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 01:30:23 +01:00
Improve readability
This commit is contained in:
parent
54a87b25b3
commit
9b05b6ef28
1 changed files with 32 additions and 32 deletions
|
@ -36,7 +36,8 @@ export default async (job: Bull.Job): Promise<void> => {
|
|||
if (keyIdLower.startsWith('acct:')) {
|
||||
logger.warn(`Old keyId is no longer supported. ${keyIdLower}`);
|
||||
return;
|
||||
} else {
|
||||
}
|
||||
|
||||
// アクティビティ内のホストの検証
|
||||
const host = toPuny(new URL(signature.keyId).hostname);
|
||||
try {
|
||||
|
@ -71,7 +72,6 @@ export default async (job: Bull.Job): Promise<void> => {
|
|||
|
||||
key = await UserPublickeys.findOne(user.id).then(ensure);
|
||||
}
|
||||
}
|
||||
|
||||
// Update Person activityの場合は、ここで署名検証/更新処理まで実施して終了
|
||||
if (activity.type === 'Update') {
|
||||
|
|
Loading…
Reference in a new issue