Jonas Platte
a5ff4fbef7
Simplify struct initializations by using Default::default
2021-08-17 00:32:23 +02:00
Jonas Platte
2fdad12521
Rewrite event handler abstraction
2021-08-17 00:26:01 +02:00
Damir Jelić
315e77ebf2
crypto: Add the users for key claiming to the outgoing requests
...
This makes sure that we immediately claim one-time keys after we
receive the sync changes instead of waiting for a room message to be
sent by the user.
Users may not send a message in a long time which would mean that we'll
likely never share secrets or forward room keys if a Olm session was
missing with the requester.
2021-08-13 18:28:52 +02:00
Jonas Platte
578ddd2698
Upgrade to ruma 0.3.0
2021-08-12 10:41:20 +02:00
stoically
0bd438e617
Fix clippy warnings
2021-08-05 22:48:05 +02:00
Damir Jelić
1fd1570e07
Merge branch 'wip/haeckerfelix/room-event'
2021-07-29 09:37:31 +02:00
Felix Häcker
91e9a5f9f3
Add new RoomEvent type, try to decrypt event
2021-07-28 19:49:41 +02:00
Damir Jelić
aa5f532f86
Merge branch 'master' into room-state-getters
2021-07-27 11:18:29 +02:00
Damir Jelić
c499d2e465
matris-sdk: Test getting state events out of the store
2021-07-27 10:22:11 +02:00
Damir Jelić
7433003ffa
matrix-sdk: Don't panic when importing invalid key exports
2021-07-19 09:21:28 +02:00
Damir Jelić
c78406ceb9
crypto: Clean up the method to check if a device is verified.
2021-06-29 12:56:28 +02:00
Jonas Platte
4d5768111d
Simplify ruma identifier imports
2021-06-23 16:12:23 +02:00
Jonas Platte
aabda60e9f
Fix unused import warnings for wasm
2021-06-23 16:12:22 +02:00
Jonas Platte
4a7010bab1
Reexport independent external crates entirely
...
… instead of reexporting individual items.
2021-06-23 16:12:22 +02:00
Jonas Platte
43e213fd67
matrix-sdk: Update ruma
...
Co-authored-by: Damir Jelić <poljar@termina.org.uk>
2021-06-21 15:45:33 +02:00
Damir Jelić
0fb3dedd1c
client: Fix compilation when the encryption feature is disabled
2021-06-17 12:35:37 +02:00
Damir Jelić
3cf843d24f
matrix-sdk: Rework the public API for answering verifications
2021-06-17 12:17:11 +02:00
Damir Jelić
5d38bc3802
crypto: Scope the verification requests behind the other user id
2021-06-17 11:04:18 +02:00
Damir Jelić
ada71586ac
crypto: Scope the verifications per sender
2021-06-17 11:04:17 +02:00
Damir Jelić
c4b1d3bc44
Merge branch 'avatar_cache'
2021-06-17 10:42:57 +02:00
Julian Sparber
4cdb03e64b
matrix-sdk: use media cache for avatar requests
2021-06-15 13:07:34 +02:00
Johannes Becker
da4876acee
appservice: Rename Appservice to AppService
2021-06-15 12:09:25 +02:00
Damir Jelić
dbf8cf231d
Merge branch 'matrix-sdk/feat/whoami'
2021-06-11 10:08:12 +02:00
Johannes Becker
ba0cc3d45f
matrix-sdk: Add Client::whoami()
2021-06-11 09:37:30 +02:00
Johannes Becker
1a5cd544e7
appservice: Introduce appservice mode on Client
2021-06-10 11:36:20 +02:00
Damir Jelić
4a83e36195
Merge branch 'appservice/feature/warp'
2021-06-09 17:31:07 +02:00
Damir Jelić
5fa2b05622
matrix-sdk: Fix some more typos
2021-06-08 11:13:23 +02:00
Johannes Becker
8d061447d6
appservice: Improve test coverage
2021-06-08 11:09:03 +02:00
Johannes Becker
38512d6a54
appservice: Add warp support
2021-06-08 11:01:20 +02:00
Jonas Platte
26788f83f0
sdk: Depend on ruma directly
2021-06-07 19:50:13 +02:00
Jonas Platte
3bac536daf
Fix clippy lints
...
Automated via `cargo clippy --workspace --all-targets -Zunstable-options --fix`.
2021-06-07 15:51:18 +02:00
Jonathan de Jong
74a6d39b9f
various typos
2021-06-05 14:35:20 +02:00
Damir Jelić
7cca358399
Merge branch 'master' into verification-improvements
2021-06-04 18:37:42 +02:00
Damir Jelić
ee40d917d1
Merge branch 'feat/appservice-client-config'
2021-05-31 13:28:31 +02:00
Damir Jelić
d58a190712
Merge branch 'media-store'
2021-05-31 10:36:20 +02:00
Damir Jelić
10b38ce44e
matrix-sdk: Fix a bunch of typos
2021-05-31 09:35:19 +02:00
Kévin Commaille
a959116af2
sdk: Fix clippy warnings
2021-05-28 09:11:48 +02:00
Kévin Commaille
6367cdddbf
sdk: Add tests for media content
2021-05-25 22:15:27 +02:00
Kévin Commaille
df883d3328
Add MediaEventContent trait and implement it for corresponding room events
...
Add helper methods in Client
2021-05-25 21:52:27 +02:00
Kévin Commaille
b805670c8a
sdk: Add methods for media content
2021-05-25 21:43:01 +02:00
Johannes Becker
7609c7445c
matrix-sdk: Allow to get Client's RequestConfig
2021-05-25 10:38:43 +02:00
Damir Jelić
e058191b99
base: Correctly update the room info for invited rooms
2021-05-25 09:31:32 +02:00
timorl
ded5830deb
Make client use .well-known redirects
...
Was supposed to fix #219 , but apparently that was about something else.
2021-05-24 11:00:42 +02:00
Damir Jelić
110b8eb8dd
Merge branch 'master' into sas-longer-flow
2021-05-18 09:07:50 +02:00
Jonas Platte
cd77441d1b
Upgrade ruma to 0.1.0 (crates.io release)
2021-05-17 02:57:36 +02:00
Damir Jelić
3f57a2a9f2
Merge branch 'master' into sas-longer-flow
2021-05-13 11:26:40 +02:00
Damir Jelić
09a7858702
crypto: Initial support for the longer to-device verification flow
2021-05-13 11:15:56 +02:00
Devin Ragotzy
2ef0c2959c
Add use_small_heuristics option and run fmt
2021-05-12 15:37:29 -04:00
Devin Ragotzy
c85f4d4f0c
Add rustfmt config file and run over workspace
2021-05-12 15:36:52 -04:00
Damir Jelić
77c2a4ed4f
matrix-sdk: Bump ruma
2021-05-12 19:19:42 +02:00