aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/appservice_room_directory.h
diff options
context:
space:
mode:
authorRoland Pallai <dap78@magex.hu>2019-08-17 19:36:38 +0200
committerRoland Pallai <dap78@magex.hu>2019-08-17 20:11:14 +0200
commit5d94e0fa2a3cd1e43b99b0c309bc9e84c6850378 (patch)
tree6a992fee13ff4c75e854000f3587e1e9b2f778c8 /lib/csapi/appservice_room_directory.h
parent8663c2e78407a0c0df872eaf9bb6b41de2fbdc9e (diff)
downloadlibquotient-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/csapi/appservice_room_directory.h')
0 files changed, 0 insertions, 0 deletions