pleroma outbox items don't have an inReplyTo when it's null
This commit is contained in:
parent
67cd14da5a
commit
6199086dc5
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
items = actor.outbox.load()
|
items = actor.outbox.load()
|
||||||
for item in items:
|
for item in items:
|
||||||
if item["object"]["inReplyTo"] == None:
|
if item["object"].get("inReplyTo", None) == None:
|
||||||
first_item = item
|
first_item = item
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue