Commit 8bc413c
revert isPlausibleLastReadMessageId check
Checking the real data for a big instance unveiled i was pretty off with my assumption how high the difference between messageId and newestKnownRealMessageId could be.
Logging for C.N.C was:
"advanceLocalLastReadMessageIfNeeded, messageId (5748751) is implausibly higher than the conversation's newest known message id (5694085). We won't advance."
I wont go down that road to increase PLAUSIBLE_MESSAGE_ID_BUFFER every know and then when it turns out it is still too low.
The curretn logic might introduce more problems than it would solve.
There should be other checks to make sure readmarkers don't make it to the server when they are wrong.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>1 parent bd7e226 commit 8bc413c
2 files changed
Lines changed: 0 additions & 72 deletions
File tree
- app/src
- main/java/com/nextcloud/talk/chat/viewmodels
- test/java/com/nextcloud/talk/chat/viewmodels
Lines changed: 0 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1845 | 1845 | | |
1846 | 1846 | | |
1847 | 1847 | | |
1848 | | - | |
1849 | | - | |
1850 | | - | |
1851 | | - | |
1852 | | - | |
1853 | | - | |
1854 | | - | |
1855 | | - | |
1856 | | - | |
1857 | | - | |
1858 | | - | |
1859 | 1848 | | |
1860 | 1849 | | |
1861 | 1850 | | |
| |||
2487 | 2476 | | |
2488 | 2477 | | |
2489 | 2478 | | |
2490 | | - | |
2491 | | - | |
2492 | | - | |
2493 | | - | |
2494 | | - | |
2495 | | - | |
2496 | | - | |
2497 | | - | |
2498 | | - | |
2499 | | - | |
2500 | | - | |
2501 | | - | |
2502 | 2479 | | |
2503 | 2480 | | |
2504 | 2481 | | |
| |||
Lines changed: 0 additions & 49 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 22 | | |
72 | 23 | | |
73 | 24 | | |
| |||
0 commit comments