Nicolas Werner
ef9ebe3fd3
Speedup startup by caching last message timestamp
...
The cache is only approximate, i.e. it doesn't skip edits and similar,
but this might be good enough? Also no migration right now.
Speeds up startup by about 5x on my system.
Half the startup time is now loading the powerlevels for each room. We
can probably lazily load those too in the future.
2022-06-15 02:13:17 +02:00
Nicolas Werner
0a405a7446
Store notification counts across restarts
2022-04-13 20:40:00 +02:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job
2022-01-01 04:57:53 +01:00
Nicolas Werner
e7d4aec6ec
Only mark as direct, if invite was direct
2021-11-21 07:06:37 +01:00
Nicolas Werner
cfca7157b9
Change indentation to 4 spaces
2021-09-18 00:45:50 +02:00
Loren Burkholder
ebe80a6006
Fix typo
2021-09-11 19:35:31 -04:00
Nicolas Werner
eafbab6ae1
Add menu to enable or disable stickers globally
2021-07-23 17:43:17 +02:00
Nicolas Werner
9d5ba4f681
Move sticker parsing and enable room stickers
2021-07-19 03:02:30 +02:00
Nicolas Werner
5b016cbc68
Remove dead code to calculate last message
2021-07-01 12:45:47 +02:00
Nicolas Werner
12ce7686ce
Show some spaces in the community sidebar
2021-06-25 11:34:17 +02:00
Nicolas Werner
cd67046f60
Make roomlist look nice
2021-05-21 21:19:03 +02:00
Nicolas Werner
e5d75c814b
Clean up notification code a bit
2021-03-17 19:18:07 +01:00
Nicolas Werner
a6f0d2ea7d
Update license headers
2021-03-05 01:04:07 +01:00
Nicolas Werner
01e38d12ed
Fix some compiler warnings
2020-12-25 00:08:06 +00:00
Nicolas Werner
bc93f24a22
Remove redundant user search suggestion code
2020-11-25 19:05:12 +01:00
Nicolas Werner
dad2de7ba2
Add support for db migrations
2020-05-02 16:44:50 +02:00
Nicolas Werner
641a883bfd
Optimize RoomList sorting
...
Keep the almost sorted list around and sort by the raw timestamp value
instead of doing the expensive toMSecSinceEpoch conversion.
2020-04-30 23:59:17 +02:00
Nicolas Werner
a07e699811
Fix build with build system optimizations of mtxclient
2020-01-29 23:39:05 +01:00
Nicolas Werner
13df852479
Reduce some include of Cache.h since it needs 11s on average
2019-12-14 23:40:32 +01:00