commit 5910837c1baffd8bc98558f37d738c3aaaf32b9d from: Aleksey Ryndin date: Thu Oct 03 12:44:10 2024 UTC Fix: lonk page timeline commit - 8b4f10af8c5df796723cc66ee799c06f0c84875a commit + 5910837c1baffd8bc98558f37d738c3aaaf32b9d blob - 8e114e9f198bf3aabe8cbe4e4dcfa5fba1edba84 blob + 394e909b2070bf2b4d73d12db4e707c48849fa23 --- lonk.py +++ lonk.py @@ -318,7 +318,7 @@ def page_lonk(db_con, client_id, lonk_url, honk_url): gethonks_answer = honk_url.do_get(action="gethonks", page="home") lonk_page = {} - for honk in (gethonks_answer.pop("honks", None) or []): + for honk in reversed(gethonks_answer.pop("honks", None) or []): convoy = honk["Convoy"] if convoy not in lonk_page: @@ -385,7 +385,7 @@ def page_lonk(db_con, client_id, lonk_url, honk_url): lonk_page[convoy].thread.append(honk) gethonks_answer["honks"] = [] - for tree_item in lonk_page.values(): + for tree_item in reversed(lonk_page.values()): gethonks_answer["honks"] += list(tree_item.iterate_honks()) print("20 text/gemini\r")