Actually return the toots being looked up

The code was looking up toots, then throwing them away because I'm an idiot.
This commit is contained in:
Cy 2020-06-01 19:40:11 +00:00
parent 72c6ba5d85
commit 36fc68642e
No known key found for this signature in database
GPG Key ID: F66D599380F88521
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ def maketree(mastodon, oktoot, root, descendants):
if not oktoot(toot):
# just a placeholder so it doesn't mess up the UI
return filtered_toot
lookup[id] = toot
return toot
return lookup[id]
def getreps(id):
if id in replies: