Commit Graph

26 Commits

Author SHA1 Message Date
John Preston c478d96385 Add debug logs for chats reading requests. 2020-05-12 16:18:19 +04:00
John Preston c3463dec63 Force zero unread count if read till end. 2020-02-24 14:54:00 +04:00
John Preston f2ef109940 Make sure we request pending dialog entries. 2020-02-24 14:54:00 +04:00
John Preston 91a6632a1b Fix state assertion in reading requets. 2020-02-24 12:57:24 +04:00
John Preston b84b1e71f7 Beta version 1.9.16: Crash fix. 2020-02-23 15:13:23 +04:00
John Preston a84c7e0b06 Don't apply entry from dialogs if postponed. 2020-02-23 12:56:33 +04:00
John Preston f7144a55e2 Always clear history notifications when marking as read. 2020-02-23 12:48:39 +04:00
John Preston 496faef0b3 Fix crashes in fast simultaneous readings.
Fixes #7264, fixes #7259.
2020-02-23 11:54:18 +04:00
John Preston c207a7c0d3 Fix simultaneous read history requests. 2020-02-21 19:05:57 +04:00
John Preston d83cf0e560 Fix build with Clang. 2020-02-21 18:50:56 +04:00
John Preston 28032e5e0d Fix jump to a specific message. 2020-02-21 18:48:30 +04:00
John Preston 7f77db8c7f Fix request cancel in Histories. 2020-02-21 18:48:30 +04:00
John Preston f9d02740aa Don't send same read request more than once. 2020-02-21 18:48:30 +04:00
John Preston ec7a2dce2f Search through Histories. 2020-02-21 18:48:30 +04:00
John Preston 6f672ecdc3 Request history parts through Histories. 2020-02-21 18:48:30 +04:00
John Preston 818f5cd004 Send and delete messages through Histories. 2020-02-21 18:48:30 +04:00
John Preston 147e8cc467 Prepare for syncing read / write requests. 2020-02-21 18:48:30 +04:00
John Preston db322cc19a Move requestDialogEntry to Histories. 2020-02-21 18:48:30 +04:00
John Preston 9bdcd08233 Don't read history for guest channels. 2020-02-21 18:48:30 +04:00
John Preston a954b459b4 Fix crash on reading in support mode. 2020-02-21 18:48:30 +04:00
John Preston a3f19c073b Fix 'reading' of an empty history. 2020-02-21 18:48:29 +04:00
John Preston b5dcd84513 Fix stop-auto-read when the system is idle. 2020-02-21 18:48:29 +04:00
John Preston 5b7f7ed70e Fix reading of currently opened chat. 2020-02-21 18:48:29 +04:00
John Preston 32d93e2651 Fix several read requests together. 2020-02-21 18:48:29 +04:00
John Preston 9cccea9a87 All read history done through Data::Histories. 2020-02-21 18:48:29 +04:00
John Preston b0e1ae3948 Prepare Data::Histories for requests interdependencies. 2020-02-21 18:48:29 +04:00