1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 22:57:29 +00:00

Merge pull request #700 from sigaloid/patch-1

Increase thread message limit
This commit is contained in:
Austin Huang 2021-02-18 16:56:23 -05:00 committed by GitHub
commit ea92dcf8d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -413,7 +413,7 @@ public class DirectMessagesService extends BaseService {
public Call<DirectInboxResponse> fetchPendingInbox(final String cursor, final long seqId) { public Call<DirectInboxResponse> fetchPendingInbox(final String cursor, final long seqId) {
final ImmutableMap.Builder<String, Object> queryMapBuilder = ImmutableMap.<String, Object>builder() final ImmutableMap.Builder<String, Object> queryMapBuilder = ImmutableMap.<String, Object>builder()
.put("visual_message_return_type", "unseen") .put("visual_message_return_type", "unseen")
.put("thread_message_limit", 10) .put("thread_message_limit", 20)
.put("persistentBadging", true) .put("persistentBadging", true)
.put("limit", 10); .put("limit", 10);
if (!TextUtils.isEmpty(cursor)) { if (!TextUtils.isEmpty(cursor)) {