Konstantinos Sideris
0028fdfe6c
Remove map from room_id to QPixmap from ChatPage
...
The avatars are loaded from cache
2018-04-24 14:13:05 +03:00
Konstantinos Sideris
1642f3cf40
Update invites in the UI after sync
2018-04-22 14:19:05 +03:00
Konstantinos Sideris
c0e355f485
Properly clean stale invites
2018-04-22 12:26:41 +03:00
Konstantinos Sideris
6d0bc0c05e
Strip whitespace from room names for QuickSwitcher
2018-04-22 11:27:00 +03:00
Konstantinos Sideris
29bd8b71d1
Implement media cache
2018-04-21 21:18:57 +03:00
Konstantinos Sideris
54091cf403
Bump cache format version
2018-04-21 17:27:38 +03:00
Konstantinos Sideris
9d825b07ca
Remove dead code
2018-04-21 17:27:06 +03:00
Konstantinos Sideris
4a2f1af090
Save read receipts
2018-04-21 17:14:16 +03:00
Konstantinos Sideris
2f00fc51bf
Cache refactoring
2018-04-21 16:35:03 +03:00
Konstantinos Sideris
f9fd03b958
Simplify variant usage
2018-03-26 20:41:16 +03:00
Konstantinos Sideris
12a96aae6d
Add some missing references
2018-02-28 12:12:07 +02:00
Konstantinos Sideris
1fad9398fc
Use more stl containers & minor refactorings
2018-01-24 20:46:37 +02:00
Konstantinos Sideris
c59cd0e80b
Load the initial cache data without blocking the UI
2018-01-21 21:43:21 +02:00
Konstantinos Sideris
020a842aef
Change cache format to not allow duplicate receipts
...
Convert list of receipts to map<userId, timestamp>
2018-01-14 23:37:38 +02:00
Konstantinos Sideris
3929261a8e
Use QSharedPointer to save RoomStates
2018-01-13 17:15:47 +02:00
Konstantinos Sideris
eaf05748ff
Initial support for read receipts
2018-01-03 18:06:29 +02:00
Konstantinos Sideris
33f534c6f8
Cache room avatars ( #139 )
...
fixes #107
2017-12-22 00:00:48 +02:00
Konstantinos Sideris
f11044b5eb
Handle incoming invites
...
fixes #128
2017-12-19 22:36:12 +02:00
Konstantinos Sideris
d872b1060b
Reset cache on breaking changes
...
fixes #154
2017-12-10 12:51:44 +02:00
Konstantinos Sideris
a605e4486f
Migrate to matrix-structs for event and response parsing
2017-12-04 18:41:19 +02:00
Benjamin Saunders
5bd5555a51
Use C++11 braced list style ( #121 )
2017-11-05 23:04:55 +02:00
Konstantinos Sideris
c18a49915b
Save the changes between syncs in cache
...
- Fixes high cpu issues caused by the serialization of the whole
in-memory state.
- Display name changes are now visible in the timeline.
2017-10-28 20:46:34 +03:00
Konstantinos Sideris
a17b6dffaf
Clean up headers
2017-10-28 15:46:39 +03:00
Konstantinos Sideris
c0e55378c3
Remove extra inline keywords
2017-10-22 19:03:55 +03:00
Konstantinos Sideris
160fe1d668
Remove cache updates from the main thread
2017-10-21 21:17:01 +03:00
Konstantinos Sideris
8390ff253d
Fix icons for retina displays
2017-10-15 22:08:51 +03:00
Konstantinos Sideris
88349eae90
Recover from corrupted cache data
...
Make Cache constructor exception free
fixes #74
2017-10-03 21:16:31 +03:00
Max Sandholm
7ad45d8d64
React to externally left and joined rooms, and add "leave room" button in room menu ( #75 )
...
* Initial "join room" feature.
* React correctly to remotely joined rooms.
* Leaving rooms implemented both locally using the room menu
in nheko, and reacting properly when leaving a room remotely
from another client.
2017-10-01 19:49:36 +03:00
Konstantinos Sideris
0c0ac68bc2
Remove extra clang-format options
2017-10-01 12:51:29 +03:00
Konstantinos Sideris
177dd6a5b0
Remove cache data when the user logs out
2017-08-26 14:31:23 +03:00
Konstantinos Sideris
7fbfe3af15
Update the cache state at once to avoid being in an invalid state
2017-08-26 13:49:16 +03:00
Konstantinos Sideris
2644e4acca
Small style change
2017-08-20 13:47:22 +03:00
Konstantinos Sideris
748eb949a7
Parse utf-8 data properly
2017-08-01 19:42:42 +03:00
Konstantinos Sideris
8d05073547
Initial support for state cache
...
- Adds detection for duplicate events
2017-07-30 14:30:55 +03:00