summaryrefslogtreecommitdiff
path: root/src/queue/processors
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-01-30 04:37:25 +0900
committerGitHub <noreply@github.com>2020-01-30 04:37:25 +0900
commitf6154dc0af1a0d65819e87240f4385f9573095cb (patch)
tree699a5ca07d6727b7f8497d4769f25d6d62f94b5a /src/queue/processors
parentAdd Event activity-type support (#5785) (diff)
downloadsharkey-f6154dc0af1a0d65819e87240f4385f9573095cb.tar.gz
sharkey-f6154dc0af1a0d65819e87240f4385f9573095cb.tar.bz2
sharkey-f6154dc0af1a0d65819e87240f4385f9573095cb.zip
v12 (#5712)
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com> Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
Diffstat (limited to 'src/queue/processors')
-rw-r--r--src/queue/processors/db/export-notes.ts2
-rw-r--r--src/queue/processors/inbox.ts10
2 files changed, 0 insertions, 12 deletions
diff --git a/src/queue/processors/db/export-notes.ts b/src/queue/processors/db/export-notes.ts
index 94a4302e05..0fd8c02c4a 100644
--- a/src/queue/processors/db/export-notes.ts
+++ b/src/queue/processors/db/export-notes.ts
@@ -128,8 +128,6 @@ function serialize(note: Note, poll: Poll | null = null): any {
viaMobile: note.viaMobile,
visibility: note.visibility,
visibleUserIds: note.visibleUserIds,
- appId: note.appId,
- geo: note.geo,
localOnly: note.localOnly
};
}
diff --git a/src/queue/processors/inbox.ts b/src/queue/processors/inbox.ts
index 1a583ec865..74108f354b 100644
--- a/src/queue/processors/inbox.ts
+++ b/src/queue/processors/inbox.ts
@@ -3,7 +3,6 @@ import * as httpSignature from 'http-signature';
import { IRemoteUser } from '../../models/entities/user';
import perform from '../../remote/activitypub/perform';
import { resolvePerson, updatePerson } from '../../remote/activitypub/models/person';
-import { publishApLogStream } from '../../services/stream';
import Logger from '../../services/logger';
import { registerOrFetchInstanceDoc } from '../../services/register-or-fetch-instance-doc';
import { Instances, Users, UserPublickeys } from '../../models';
@@ -89,15 +88,6 @@ export default async (job: Bull.Job): Promise<void> => {
return;
}
- //#region Log
- publishApLogStream({
- direction: 'in',
- activity: activity.type,
- host: user.host,
- actor: user.username
- });
- //#endregion
-
// Update stats
registerOrFetchInstanceDoc(user.host).then(i => {
Instances.update(i.id, {