自鯖 taruntarun.net 、このエラーで WebUI が死んでおり悩んでいます。
現在稼働中のソース : https://github.com/mayaeh/mastodon/tree/temp2_for-taruntarun
@mayaeh 弊ぼっちのコード https://github.com/zunda/mastodon/tree/use-ruby270-take2 と比較すると、app/javascript/mastodon/features/compose/components/announcements.js が追加されてるのが大きな違いかもですねー。このファイルの最後の方に
{items.entrySeq().map(([key, item]) =>
(<li key={key}>
<Announcement item={item} />
</li>)
)}
というコードがあります。脊髄反射で申し訳ないですが、もし参考になれば。
@noellabo @mayaeh @Gargron @zundan My server has its own notification function. ( https://github.com/tootsuite/mastodon/compare/master...mayaeh:mods/announcements_for-taruntarun ) It reads its own JSON file, but the format of that file was broken.
@noellabo @mayaeh @zundan Isn't this from an unfinished PR? I don't think it supports creating announcements through the API yet? Which JSON?