mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
[backend] Fix polls not federating properly to non-*key servers
This fixes a regression that caused the `content` attribute of rendered notes with polls attached to be set to `{}`, causing undefined behavior in Mastodon & Akkoma. Misskey & forks just use the `_misskey_content` attribute, which was unaffected.
This commit is contained in:
parent
8b44e32a1a
commit
cd48af6393
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ export default async function renderNote(
|
|||
const asPoll = poll
|
||||
? {
|
||||
type: "Question",
|
||||
content: toHtml(
|
||||
content: await toHtml(
|
||||
Object.assign({}, note, {
|
||||
text: text,
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue