Alexander Bantyev
9f798e76ed
Allow editing unsent messages
...
As of 0db4d71ec2
(Prevent edits of
unsent messages), messages that are edits of (or replies to) unsent
messages were not allowed. This change was made because otherwise
the edits were discarded due to use of txnid rather than mxid in the
"m.relates_to" object. Remove this restriction and fix the issue by
replacing txnid with mxid in all related events when the message is
sent (and we obtain mxid from the server).
4 years ago
Nicolas Werner
e6878ee298
Don't read avatarUrl from local profile, if no global avatar is set
4 years ago
Nicolas Werner
d8c0d4874b
Render community items
4 years ago
Nicolas Werner
c290b0747f
Reenable invites
4 years ago
Nicolas Werner
f2bc184550
Fix device list not showing up and UserProfile blocking the window
4 years ago
Nicolas Werner
567fe81ad7
Basic header and footer of room list
4 years ago
Nicolas Werner
2df4c532ed
Add TOFU (Trust On First Use) mode to encryption
4 years ago
Nicolas Werner
0d0709ccd3
Show verification status next to messages
4 years ago
Nicolas Werner
1936749ff5
Fix keys not being reshared to the same devices, that already got them, if the message got lost
4 years ago
Nicolas Werner
20c1ca2aae
Fix a a session with a higher minimum index being able to overwrite an older one
4 years ago
Nicolas Werner
1b0af04cc8
Prevent warning on empty user requests
4 years ago
Nicolas Werner
8108d98fa7
Store state events with state keys
4 years ago
Nicolas Werner
c8a547630b
Fix a weird edge case with persisted empty event ids
...
No idea, how that happened and where it came from
4 years ago
Nicolas Werner
e5d75c814b
Clean up notification code a bit
4 years ago
Nicolas Werner
86766b739d
Store all state events
4 years ago
Nicolas Werner
569ea5b5f4
Rotate session keys properly
4 years ago
Nicolas Werner
6ad4065de4
Fix a few db access crashes
4 years ago
Joseph Donofry
4b12b53133
Fix linting
4 years ago
Nicolas Werner
a6f0d2ea7d
Update license headers
4 years ago
Joseph Donofry
87bf761dc2
Properly format matrix errors in spdlog statements
4 years ago
Nicolas Werner
d28a620f42
Add comment to mark db keys as such
4 years ago
Nicolas Werner
1b0abe97f9
Update to new lmdbxx version
4 years ago
Nicolas Werner
1f373479b8
Fix unaligned reads
4 years ago
Nicolas Werner
6d678a108f
Use fully read marker and fix stuck read marker with edits
4 years ago
Nicolas Werner
bdb6e6b79e
Fix stuck notifications because of edits
...
Does not fix the read status yet, for that we need to compare read
receipts for all events after the last visible event.
4 years ago
Nicolas Werner
d6504812c7
Render edits
4 years ago
Nicolas Werner
2e77a1554f
Switch to new relations format
4 years ago
Nicolas Werner
0b5269bfc0
Reload the timeline after key import
4 years ago
Nicolas Werner
6313ecb7d4
Treat empty secrets as no secret
4 years ago
rnhmjoj
0e628290af
Write database to the DataLocation
4 years ago
Nicolas Werner
1c98426536
Fix tags
4 years ago
Nicolas Werner
5105d2cb96
Fix crash when persisting null relations
4 years ago
Nicolas Werner
2a19783f99
Fix timeline becoming corrupted on backfill
...
Fixes #273
4 years ago
Nicolas Werner
39f9b7d90a
Handle matrix scheme
...
Link opening only works on Linux for now.
See https://github.com/matrix-org/matrix-doc/pull/2312
4 years ago
Nicolas Werner
3a41bb9fff
Fix typing notifications flickering sometimes
4 years ago
Nicolas Werner
391b1b3285
Fix #359
...
Actually store the login details under the selected profile
4 years ago
Nicolas Werner
525b319a94
lint
4 years ago
Nicolas Werner
904cafcd39
lint
4 years ago
Loren Burkholder
af52ceb387
Remove unused variable
4 years ago
LorenDB
53f45bdb1c
Switch profile code to a more flexible method
...
This introduces a new version of SingleApplication as well.
4 years ago
Nicolas Werner
01e38d12ed
Fix some compiler warnings
4 years ago
Nicolas Werner
15d8eb2b8b
Update deps for keychain
4 years ago
Nicolas Werner
7b46aa2a6e
Store secrets in keychain
4 years ago
Nicolas Werner
65a4c85ed4
Don't sync db on every sync
...
This fixes some lag, when Nheko is running, which could affect Nheko and
even other applications by excessively calling fsync. This should be
fine, since all filesystems seem to guarantee order and in most cases,
the modified pages are still written. In the worst case we should only
lose the last /sync results or similar.
4 years ago
Nicolas Werner
2ce129e6b6
Properly share and rotate sessions on member and device changes
4 years ago
Nicolas Werner
2290ebcf78
Remove outbound session storage
4 years ago
Nicolas Werner
c24f9a22a5
Load sessions lazily from db
4 years ago
Nicolas Werner
90cae987fd
Bump max dbs
4 years ago
Nicolas Werner
c31b9e2793
Fix race when reading members from db
4 years ago
Nicolas Werner
7cda502edd
Add some db logging and clean up avatar urls a bit
4 years ago