various fixes after the merge
This commit is contained in:
parent
1169614b7c
commit
bf710428eb
@ -524,7 +524,7 @@ export class NoteEditService implements OnApplicationShutdown {
|
|||||||
noteVisibility: note.visibility,
|
noteVisibility: note.visibility,
|
||||||
userId: user.id,
|
userId: user.id,
|
||||||
userHost: user.host,
|
userHost: user.host,
|
||||||
channelId: data.channelId,
|
channelId: data.channel ? data.channel.id : null,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!oldnote.hasPoll) {
|
if (!oldnote.hasPoll) {
|
||||||
|
@ -680,7 +680,6 @@ export class ExportAccountDataProcessorService {
|
|||||||
localOnly: antenna.localOnly,
|
localOnly: antenna.localOnly,
|
||||||
withReplies: antenna.withReplies,
|
withReplies: antenna.withReplies,
|
||||||
withFile: antenna.withFile,
|
withFile: antenna.withFile,
|
||||||
notify: antenna.notify,
|
|
||||||
}));
|
}));
|
||||||
|
|
||||||
if (antennas.length - 1 !== index) {
|
if (antennas.length - 1 !== index) {
|
||||||
|
@ -55,7 +55,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||||||
}
|
}
|
||||||
|
|
||||||
await this.federatedInstanceService.update(instance.id, {
|
await this.federatedInstanceService.update(instance.id, {
|
||||||
isSuspended: ps.isSuspended,
|
|
||||||
suspensionState,
|
suspensionState,
|
||||||
isNSFW: ps.isNSFW,
|
isNSFW: ps.isNSFW,
|
||||||
moderationNote: ps.moderationNote,
|
moderationNote: ps.moderationNote,
|
||||||
|
Loading…
Reference in New Issue
Block a user