From 36fc68642e2c2d0727d2574298ba53e52c274a8a Mon Sep 17 00:00:00 2001 From: Cy Date: Mon, 1 Jun 2020 19:40:11 +0000 Subject: [PATCH] Actually return the toots being looked up The code was looking up toots, then throwing them away because I'm an idiot. --- brutaldon/threadtree.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/brutaldon/threadtree.py b/brutaldon/threadtree.py index a5a4dd3..cb42984 100644 --- a/brutaldon/threadtree.py +++ b/brutaldon/threadtree.py @@ -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: