~tsileo/microblog.pub-devel

Fix Event activity rendering v1 PROPOSED

João Costa: 1
 Fix Event activity rendering

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~tsileo/microblog.pub-devel/patches/45701/mbox | git am -3
Learn more about email & git

[PATCH] Fix Event activity rendering Export this patch

The logic to render Event activities was already in implemented and working,
but they were filtered out.
---
 app/templates/admin_inbox.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/templates/admin_inbox.html b/app/templates/admin_inbox.html
index c92dde2..18226c7 100644
--- a/app/templates/admin_inbox.html
+++ b/app/templates/admin_inbox.html
@@ -26,7 +26,7 @@
            {{ utils.display_object(inbox_object.relates_to_anybox_object, is_h_entry=False) }}
        </div>
    </div>
{% elif inbox_object.ap_type in ["Article", "Note", "Video", "Page", "Question"] %}
{% elif inbox_object.ap_type in ["Article", "Note", "Video", "Page", "Question", "Event"] %}
    {{ utils.display_object(inbox_object) }}
{% elif inbox_object.ap_type == "Follow" %}
    <div class="h-entry" id="{{ inbox_object.permalink_id }}">
--
2.41.0.windows.1