tolerate fediverse Notes without "cc"s
This commit is contained in:
parent
631e669426
commit
47f7c7a595
1 changed files with 3 additions and 1 deletions
|
@ -124,7 +124,9 @@ class Module(ModuleManager.BaseModule):
|
|||
nonreply = [actor.followers]
|
||||
first_item = None
|
||||
for item in items:
|
||||
if item["type"] == "Announce" or item["object"]["cc"] == nonreply:
|
||||
if (item["type"] == "Announce" or
|
||||
not "cc" in item["object"] or
|
||||
item["object"]["cc"] == nonreply):
|
||||
first_item = item
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue