various fixes after the merge

This commit is contained in:
dakkar 2024-05-31 12:55:53 +01:00
parent 1169614b7c
commit bf710428eb
3 changed files with 6 additions and 8 deletions

View File

@ -524,7 +524,7 @@ export class NoteEditService implements OnApplicationShutdown {
noteVisibility: note.visibility,
userId: user.id,
userHost: user.host,
channelId: data.channelId,
channelId: data.channel ? data.channel.id : null,
});
if (!oldnote.hasPoll) {

View File

@ -680,7 +680,6 @@ export class ExportAccountDataProcessorService {
localOnly: antenna.localOnly,
withReplies: antenna.withReplies,
withFile: antenna.withFile,
notify: antenna.notify,
}));
if (antennas.length - 1 !== index) {

View File

@ -55,7 +55,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
}
await this.federatedInstanceService.update(instance.id, {
isSuspended: ps.isSuspended,
suspensionState,
isNSFW: ps.isNSFW,
moderationNote: ps.moderationNote,