diff options
author | ikeblaster <ike@thez.info> | 2020-02-20 15:10:33 +0100 |
---|---|---|
committer | ikeblaster <ike@thez.info> | 2020-02-20 15:10:33 +0100 |
commit | 1ff0429a1eeb75f2d84ec89fd06a06acf9c0219b (patch) | |
tree | 097647944ff064f249d96e001154db6f4903ea3f /protocols/Facebook/src/proto.h | |
parent | dc960c3a24a2c77fa7461dd6a154baa83a1c2c20 (diff) |
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.
Diffstat (limited to 'protocols/Facebook/src/proto.h')
-rw-r--r-- | protocols/Facebook/src/proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. * 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 |