Fix Question display

Pleroma does not set the `endTime` field as Mastodon does.
This commit is contained in:
Thomas Sileo
2019-06-29 11:33:29 +02:00
parent 42bf96e44a
commit 1189910b53
3 changed files with 11 additions and 7 deletions

View File

@@ -29,7 +29,7 @@
{{ utils.display_actor_inline(data, size=80) }}
{% elif data | has_type('Create') %}
{{ utils.display_note(data.object, ui=True) }}
{% elif data | has_type(['Note', 'Article', 'Video', 'Audio', 'Page']) %}
{% elif data | has_type(['Note', 'Article', 'Video', 'Audio', 'Page', 'Question']) %}
{{ utils.display_note(data, ui=True) }}
{% elif data | has_type('Announce') %}
{% set boost_actor = meta.actor %}