nheko/src
Nicolas Werner e6fcccc8bd Don't store pending receipts in cache
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.
2020-04-30 22:42:56 +02:00
..
dialogs Fix UserProfile resizing 2020-04-01 01:28:05 +02:00
emoji remove setStyleSheet calls directly from widget code 2020-02-21 15:38:19 -04:00
notifications Remove unused paramters 2020-04-13 17:01:57 +02:00
popups Fix reply not closing 2020-04-13 16:22:30 +02:00
timeline Don't store pending receipts in cache 2020-04-30 22:42:56 +02:00
ui Fix high CPU usage on high dpi screens 2020-04-29 20:23:00 +02:00
AvatarProvider.cpp Respect exif rotation of images 2020-04-26 11:26:51 +02:00
AvatarProvider.h Try to reduce memory usage by reusing avatar pixmaps 2019-08-26 08:51:56 +02:00
BlurhashProvider.cpp Make blurhash provider async 2020-03-04 01:56:58 +01:00
BlurhashProvider.h Make blurhash provider async 2020-03-04 01:56:58 +01:00
Cache.cpp Don't store pending receipts in cache 2020-04-30 22:42:56 +02:00
Cache.h Don't store pending receipts in cache 2020-04-30 22:42:56 +02:00
Cache_p.h Don't store pending receipts in cache 2020-04-30 22:42:56 +02:00
CacheCryptoStructs.h Reduce some include of Cache.h since it needs 11s on average 2019-12-14 23:40:32 +01:00
CacheStructs.h Fix build with build system optimizations of mtxclient 2020-01-29 23:39:05 +01:00
ChatPage.cpp Send correct orientation for exif rotated images 2020-04-26 11:41:30 +02:00
ChatPage.h Add signal/slot for decryption changes in last patch 2020-04-22 19:52:30 -04:00
ColorImageProvider.cpp Remove useless logging 2020-01-21 22:12:59 +01:00
ColorImageProvider.h optionally use QQuickWidget and replace ColorOverlay -> colorImageProvider 2019-11-23 20:06:15 +01:00
CommunitiesList.cpp Fix opaque widget in community list 2020-02-21 02:39:28 +01:00
CommunitiesList.h Fix opaque widget in community list 2020-02-21 02:39:28 +01:00
CommunitiesListItem.cpp Optimize includes a bit 2020-01-31 15:11:21 +01:00
CommunitiesListItem.h Optimize includes a bit 2020-01-31 15:11:21 +01:00
Config.h modernize: raw string literals 2020-02-04 05:19:55 +01:00
EventAccessors.cpp Experimental blurhash implementation (MXC2448) 2020-03-03 02:34:26 +01:00
EventAccessors.h Experimental blurhash implementation (MXC2448) 2020-03-03 02:34:26 +01:00
InviteeItem.cpp Add method to center widgets & clean up unused headers 2018-09-21 10:55:24 +03:00
InviteeItem.h Remove wildcard mtx.hpp includes 2020-01-31 17:12:20 +01:00
Logging.cpp Fix Binding restoreMode warning spamming logs 2020-04-21 21:09:29 +02:00
Logging.h Redirect qt logger 2019-11-23 20:06:15 +01:00
LoginPage.cpp Wrap error label on login page 2020-02-25 01:51:21 +01:00
LoginPage.h modernize: use nullptr 2020-02-04 04:58:43 +01:00
main.cpp Add --debug switch 2020-04-15 23:28:04 +02:00
MainWindow.cpp Add signal/slot for decryption changes in last patch 2020-04-22 19:52:30 -04:00
MainWindow.h Fix Registration 2020-02-23 13:44:05 +01:00
MatrixClient.cpp Remove metatypes from headers 2020-01-31 16:08:30 +01:00
MatrixClient.h Remove metatypes from headers 2020-01-31 16:08:30 +01:00
MxcImageProvider.cpp Respect exif rotation of images 2020-04-26 11:26:51 +02:00
MxcImageProvider.h Implement decryption of images 2019-12-03 23:34:16 +01:00
Olm.cpp Add signal/slot for decryption changes in last patch 2020-04-22 19:52:30 -04:00
Olm.h Remove wildcard mtx.hpp includes 2020-01-31 17:12:20 +01:00
QuickSwitcher.cpp Remove metatypes from headers 2020-01-31 16:08:30 +01:00
QuickSwitcher.h Remove metatypes from headers 2020-01-31 16:08:30 +01:00
RegisterPage.cpp Fix registration on construct 2020-04-17 00:27:43 +02:00
RegisterPage.h Fix Registration 2020-02-23 13:44:05 +01:00
RoomInfoListItem.cpp Fix high CPU usage on high dpi screens 2020-04-29 20:23:00 +02:00
RoomInfoListItem.h Fixed bug caused by me forgetting what types im using (invites appearing at the bottom of the list instead of the top when priority sorting was off) 2020-03-15 17:05:21 -04:00
RoomList.cpp Try to fix avatars not updating after deletion 2020-03-22 20:43:45 +01:00
RoomList.h Added toggle in the settings to ignore minor events 2020-03-15 11:19:22 -04:00
SideBarActions.cpp Optimize includes a bit 2020-01-31 15:11:21 +01:00
SideBarActions.h Optimize includes a bit 2020-01-31 15:11:21 +01:00
Splitter.cpp Make small sidebar sizing consistent 2020-02-28 19:56:08 +01:00
Splitter.h modernize: use override 2020-02-04 15:18:26 +01:00
TextInputWidget.cpp Fix reply not closing 2020-04-13 16:22:30 +02:00
TextInputWidget.h Fix reply not closing 2020-04-13 16:22:30 +02:00
TopRoomBar.cpp Clean up unused avatar functions 2020-03-22 18:03:08 +01:00
TopRoomBar.h Clean up unused avatar functions 2020-03-22 18:03:08 +01:00
TrayIcon.cpp Optimize includes a bit 2020-01-31 15:11:21 +01:00
TrayIcon.h modernize: use override 2020-02-04 15:18:26 +01:00
UserInfoWidget.cpp Optimize includes a bit 2020-01-31 15:11:21 +01:00
UserInfoWidget.h modernize: use nullptr 2020-02-04 04:58:43 +01:00
UserSettingsPage.cpp Make notifications a bit easier to read 2020-04-29 20:49:57 +02:00
UserSettingsPage.h Add signal/slot for decryption changes in last patch 2020-04-22 19:52:30 -04:00
Utils.cpp Respect exif rotation of images 2020-04-26 11:26:51 +02:00
Utils.h Respect exif rotation of images 2020-04-26 11:26:51 +02:00
WelcomePage.cpp Optimize includes a bit 2020-01-31 15:11:21 +01:00
WelcomePage.h modernize: use nullptr 2020-02-04 04:58:43 +01:00