mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 06:13:09 +02:00
upd: renderUpdate on attachments
This commit is contained in:
parent
86623697d5
commit
629c605b67
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue