mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-25 05:29:07 +01: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
@ -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 New Issue
Block a user