mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-27 00:13:03 +00: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);
|
||||
|
||||
if (note.fileIds.length > 0) {
|
||||
files.map(x => this.renderUpdate(this.renderDocument(x), { id: note.userId }));
|
||||
}
|
||||
|
||||
const text = note.text ?? '';
|
||||
let poll: MiPoll | null = null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue