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:
parent
72c6ba5d85
commit
36fc68642e
|
@ -33,6 +33,8 @@ def maketree(mastodon, oktoot, root, descendants):
|
||||||
if not oktoot(toot):
|
if not oktoot(toot):
|
||||||
# just a placeholder so it doesn't mess up the UI
|
# just a placeholder so it doesn't mess up the UI
|
||||||
return filtered_toot
|
return filtered_toot
|
||||||
|
lookup[id] = toot
|
||||||
|
return toot
|
||||||
return lookup[id]
|
return lookup[id]
|
||||||
def getreps(id):
|
def getreps(id):
|
||||||
if id in replies:
|
if id in replies:
|
||||||
|
|
Loading…
Reference in New Issue