mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Bugfix for replies handling
This commit is contained in:
parent
e463782869
commit
81ac6b36c9
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class MicroblogPubBackend(Backend):
|
|||
object_id = None
|
||||
try:
|
||||
object_id = activity.get_object_id()
|
||||
except ValueError:
|
||||
except Exception: # TODO(tsileo): should be ValueError, but replies trigger a KeyError on object
|
||||
pass
|
||||
object_visibility = None
|
||||
if activity.has_type([ap.ActivityType.CREATE, ap.ActivityType.ANNOUNCE]):
|
||||
|
|
Loading…
Reference in a new issue