diff options
author | Roland Pallai <dap78@magex.hu> | 2019-08-17 19:36:38 +0200 |
---|---|---|
committer | Roland Pallai <dap78@magex.hu> | 2019-08-17 20:11:14 +0200 |
commit | 5d94e0fa2a3cd1e43b99b0c309bc9e84c6850378 (patch) | |
tree | 6a992fee13ff4c75e854000f3587e1e9b2f778c8 /lib/events/roomtombstoneevent.cpp | |
parent | 8663c2e78407a0c0df872eaf9bb6b41de2fbdc9e (diff) | |
download | libquotient-5d94e0fa2a3cd1e43b99b0c309bc9e84c6850378.tar.gz libquotient-5d94e0fa2a3cd1e43b99b0c309bc9e84c6850378.zip |
Update the cache for sure if unread counters were changed
In Quaternion, I was able to reproduce a process where
`d->notificationCount` and `d->highlightCount` were changed in
`Room::updateData()` meanwhile `roomChanges` indicated `NoChange`
thus the cache became permanently inconsistent with running state.
Without deep understanding of `roomChanges` logic, I've applied
this straightforward change which made this phenomenon
unreproducible.
Diffstat (limited to 'lib/events/roomtombstoneevent.cpp')
0 files changed, 0 insertions, 0 deletions