Skip to content
Snippets Groups Projects
Verified Commit f81d6f8e authored by Mar0xy's avatar Mar0xy
Browse files

upd: show poll in non-detailed post if poll exists

Closes transfem-org/Sharkey#52
parent 5f9f6e4e
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,10 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
await get(note.replyId);
}
if (note.hasPoll) {
return await this.noteEntityService.packMany(conversation, me, { detail: true });
}
return await this.noteEntityService.packMany(conversation, me);
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment