only fist first_item once
This commit is contained in:
parent
5923602f0a
commit
67cd14da5a
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ class Module(ModuleManager.BaseModule):
|
|||
for item in items:
|
||||
if item["object"]["inReplyTo"] == None:
|
||||
first_item = item
|
||||
break
|
||||
|
||||
if not first_item:
|
||||
raise utils.EventError("No toots found")
|
||||
|
|
Loading…
Reference in a new issue