mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-12 15:24:09 +01:00
Change timeout for first future pull
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
8ed3d1404e
commit
f686bf9057
@ -992,7 +992,13 @@ public class ChatController extends BaseController implements MessagesListAdapte
|
||||
fieldMap.put("includeLastKnown", 0);
|
||||
|
||||
if (lookIntoFuture > 0) {
|
||||
int timeout = 30;
|
||||
if (!lookingIntoFuture ) {
|
||||
timeout = 0;
|
||||
}
|
||||
|
||||
lookingIntoFuture = true;
|
||||
fieldMap.put("timeout", timeout);
|
||||
} else if (isFirstMessagesProcessing) {
|
||||
globalLastKnownFutureMessageId = currentConversation.getLastReadMessage();
|
||||
globalLastKnownPastMessageId = currentConversation.getLastReadMessage();
|
||||
|
Loading…
Reference in New Issue
Block a user