upd: renderUpdate on attachments

This commit is contained in:
Mar0xy 2023-11-01 01:38:03 +01:00
parent 86623697d5
commit 629c605b67
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -675,6 +675,10 @@ export class ApRendererService {
const files = await getPromisedFiles(note.fileIds); const files = await getPromisedFiles(note.fileIds);
if (note.fileIds.length > 0) {
files.map(x => this.renderUpdate(this.renderDocument(x), { id: note.userId }));
}
const text = note.text ?? ''; const text = note.text ?? '';
let poll: MiPoll | null = null; let poll: MiPoll | null = null;