[Gekiodu - MM-44156] Channel ordering is different between web and mobile (#6304)

* new approach added queries for sorting channels

* crt reply checking added for post remote actions

* Fix category_body test

* crt replay check fixed for fetchPostsForChannel

* sortedchannels re-rendering fix

* Only fetch Direct channels if there are more/less

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
Krm
2022-05-26 21:23:40 +03:00
committed by GitHub
parent 4825a54de0
commit efeab53d0b
10 changed files with 186 additions and 131 deletions

View File

@@ -27,6 +27,7 @@ type Channel = {
header: string;
purpose: string;
last_post_at: number;
last_root_post_at?: number;
total_msg_count: number;
total_msg_count_root?: number;
extra_update_at: number;