mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 20:23:08 +02:00
✌️
This commit is contained in:
parent
44e5ae110e
commit
6b1dc866a8
1 changed files with 0 additions and 4 deletions
|
@ -8,10 +8,6 @@ import { IAnnounce } from '../../type';
|
|||
const log = debug('misskey:activitypub');
|
||||
|
||||
export default async (actor: IRemoteUser, activity: IAnnounce): Promise<void> => {
|
||||
if ('actor' in activity && actor.uri !== activity.actor) {
|
||||
throw new Error('invalid actor');
|
||||
}
|
||||
|
||||
const uri = activity.id || activity;
|
||||
|
||||
log(`Announce: ${uri}`);
|
||||
|
|
Loading…
Reference in a new issue