pleroma outbox items don't have an inReplyTo when it's null

This commit is contained in:
jesopo 2019-09-25 17:11:16 +01:00
parent 67cd14da5a
commit 6199086dc5

View file

@ -82,7 +82,7 @@ class Module(ModuleManager.BaseModule):
items = actor.outbox.load()
for item in items:
if item["object"]["inReplyTo"] == None:
if item["object"].get("inReplyTo", None) == None:
first_item = item
break