mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Fix thread delete
This commit is contained in:
parent
0b75ee7324
commit
e3c2574f7b
2 changed files with 1 additions and 2 deletions
|
@ -437,7 +437,7 @@ class MicroblogPubBackend(Backend):
|
|||
obj_id = delete.get_object_id()
|
||||
logger.debug("delete object={obj_id}")
|
||||
try:
|
||||
obj = delete.get_object()
|
||||
obj = ap.fetch_remote_activity(obj_id)
|
||||
logger.info(f"inbox_delete handle_replies obj={obj!r}")
|
||||
in_reply_to = obj.get_in_reply_to() if obj.inReplyTo else None
|
||||
if obj.has_type(ap.CREATE_TYPES):
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
<div id="notes">
|
||||
{% for item in inbox_data %}
|
||||
{{ item }}
|
||||
{% if 'actor' in item.meta %}
|
||||
{% if item | has_type('Create') %}
|
||||
{{ utils.display_note(item.activity.object, ui=True, meta=item.meta) }}
|
||||
|
|
Loading…
Reference in a new issue