Fix unread message notices

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2019-09-30 10:35:30 +02:00
parent 948b01bcb7
commit 8a60fad0c4

View file

@ -869,7 +869,7 @@ class ChatController(args: Bundle) : BaseController(args), MessagesListAdapter
fieldMap["includeLastKnown"] = 0
var timeout = 30
if (lookIntoFuture == 0) {
if (lookIntoFuture == 0 || !lookingIntoFuture) {
timeout = 0
}