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
|
object_id = None
|
||||||
try:
|
try:
|
||||||
object_id = activity.get_object_id()
|
object_id = activity.get_object_id()
|
||||||
except ValueError:
|
except Exception: # TODO(tsileo): should be ValueError, but replies trigger a KeyError on object
|
||||||
pass
|
pass
|
||||||
object_visibility = None
|
object_visibility = None
|
||||||
if activity.has_type([ap.ActivityType.CREATE, ap.ActivityType.ANNOUNCE]):
|
if activity.has_type([ap.ActivityType.CREATE, ap.ActivityType.ANNOUNCE]):
|
||||||
|
|
Loading…
Reference in a new issue