mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-22 07:10:59 +00:00
Fix prune issues when multiple replies
This commit is contained in:
parent
87344b47b5
commit
99e7fb8639
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class Command(BaseCommand):
|
||||||
in_reply_to__in=post_ids_and_uris.keys()
|
in_reply_to__in=post_ids_and_uris.keys()
|
||||||
).values_list("in_reply_to", flat=True)
|
).values_list("in_reply_to", flat=True)
|
||||||
for reply in replies:
|
for reply in replies:
|
||||||
if reply:
|
if reply and reply in post_ids_and_uris:
|
||||||
del post_ids_and_uris[reply]
|
del post_ids_and_uris[reply]
|
||||||
|
|
||||||
# Delete them
|
# Delete them
|
||||||
|
|
Loading…
Reference in a new issue