Improve admin dashboard
This commit is contained in:
parent
f9f2ca51ac
commit
aadd5b95b8
10 changed files with 183 additions and 8 deletions
|
@ -8,6 +8,7 @@ import perform from '../../../remote/activitypub/perform';
|
|||
import { resolvePerson, updatePerson } from '../../../remote/activitypub/models/person';
|
||||
import { toUnicode } from 'punycode';
|
||||
import { URL } from 'url';
|
||||
import { publishApLogStream } from '../../../stream';
|
||||
|
||||
const log = debug('misskey:queue:inbox');
|
||||
|
||||
|
@ -61,6 +62,15 @@ export default async (job: bq.Job, done: any): Promise<void> => {
|
|||
}) as IRemoteUser;
|
||||
}
|
||||
|
||||
//#region Log
|
||||
publishApLogStream({
|
||||
direction: 'in',
|
||||
activity: activity.type,
|
||||
host: user.host,
|
||||
actor: user.username
|
||||
});
|
||||
//#endregion
|
||||
|
||||
// Update activityの場合は、ここで署名検証/更新処理まで実施して終了
|
||||
if (activity.type === 'Update') {
|
||||
if (activity.object && activity.object.type === 'Person') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue