summary refs log tree commit diff
path: root/src/Cache_p.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for db migrationsNicolas Werner2020-05-021-1/+2
|
* Don't store pending receipts in cacheNicolas Werner2020-04-301-12/+0
| | | | | | | | | | | | | We don't get notified for every message. Sometimes we only get a read receipt for the newest message, which means old read receipts accumulate in the database. This least to some considerable CPU overhead, when checking if the timeline should be notified for new read receipts. Instead just always notify, since that has far less overhead in the worst case and doesn't need complicated cache cleanup. The old pending_receipts db is not removed for now. It should still have minimal storage overhead and we don't have a good mechanism for cache format upgrades atm.
* Clear notifications when event is readNicolas Werner2020-04-111-0/+1
|
* Fix stuck unread messages by storing state events in the dbNicolas Werner2020-02-241-0/+1
| | | | | | This may increase the db size by a factor of 1000 in the worst case and it will need some fixes, when we decide to not show some events in the timeline, but it should work for now.
* Reset user colors on theme change (in qml timeline)Nicolas Werner2020-02-201-6/+0
|
* Remove even more headersNicolas Werner2020-01-311-3/+0
|
* Remove metatypes from headersNicolas Werner2020-01-311-3/+3
|
* Fix include of lmdb++ with hunterNicolas Werner2020-01-261-0/+4
|
* Reduce overhead of Cache.hNicolas Werner2019-12-151-0/+494