v12 (#5712)
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com> Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
This commit is contained in:
@@ -267,7 +267,6 @@ export async function createNote(value: string | IObject, resolver?: Resolver, s
|
||||
text,
|
||||
viaMobile: false,
|
||||
localOnly: false,
|
||||
geo: undefined,
|
||||
visibility,
|
||||
visibleUsers,
|
||||
apMentions,
|
||||
|
@@ -5,7 +5,6 @@ import * as cache from 'lookup-dns-cache';
|
||||
|
||||
import config from '../../config';
|
||||
import { ILocalUser } from '../../models/entities/user';
|
||||
import { publishApLogStream } from '../../services/stream';
|
||||
import { UserKeypairs } from '../../models';
|
||||
import { ensure } from '../../prelude/ensure';
|
||||
import * as httpsProxyAgent from 'https-proxy-agent';
|
||||
@@ -69,13 +68,4 @@ export default async (user: ILocalUser, url: string, object: any) => {
|
||||
|
||||
req.end(data);
|
||||
});
|
||||
|
||||
//#region Log
|
||||
publishApLogStream({
|
||||
direction: 'out',
|
||||
activity: object.type,
|
||||
host: null,
|
||||
actor: user.username
|
||||
});
|
||||
//#endregion
|
||||
};
|
||||
|
Reference in New Issue
Block a user