From 1ff0429a1eeb75f2d84ec89fd06a06acf9c0219b Mon Sep 17 00:00:00 2001 From: ikeblaster Date: Thu, 20 Feb 2020 15:10:33 +0100 Subject: Facebook: group chat loading improvement Loading only unarchived group chats, where user is still subscribed. When thread_count limit is sent, response is sorted. Hardcoded to 40 threads - not ideal, since response contains also normal chats (those are skipped). Better solution proposed in TODO. --- protocols/Facebook/src/proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Facebook/src/proto.h') diff --git a/protocols/Facebook/src/proto.h b/protocols/Facebook/src/proto.h index 2f6df655b3..bd3eca0938 100644 --- a/protocols/Facebook/src/proto.h +++ b/protocols/Facebook/src/proto.h @@ -249,8 +249,8 @@ along with this program. If not, see . * The query hash for the `ThreadListQuery`. * * Key mapping: - * 0: folder_tag - * 1: thread_count + * 0: folder_tag (INBOX, PENDING, ARCHIVED, OTHER, UNREAD) + * 1: thread_count (result is sorted from newest to oldest when parameter is sent) * 2: include_thread_info * 3: verification_type * 4: hash_key -- cgit v1.2.3