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
Jonas Platte
3c9f929598
Fix typo: underlaying => underlying
2021-05-30 15:01:27 +02:00
projectmoon
bb69901d94
Return joined members in a room from the correct Sled tree.
2021-05-17 22:28:30 +00:00
Jonas Platte
cd77441d1b
Upgrade ruma to 0.1.0 (crates.io release)
2021-05-17 02:57:36 +02:00
Devin Ragotzy
5f09d091cb
Add cargo fmt to ci using nightly
2021-05-12 15:38:59 -04: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
Damir Jelić
5d73dd7da7
room: Add methods to get members that don't do any requests
...
Our main methods to get members nowadays ensure that the member list is
synchronized with the server. This is nice and convenient but might not
be desirable for a couple of reasons.
Firstly it might be costly to fetch all members at once depending on
what the client is doing and the number of rooms and secondly some
clients might have a hybrid setup where not everything is running on a
tokio thread, sending out requests is only possible on a tokio thread.
2021-04-29 12:38:07 +02:00
Damir Jelić
5cf0fd2b85
room: Override the method to get a specific room member
2021-04-29 11:08:09 +02:00
Johannes Becker
910a45b3d5
chore: cleanup clippy warnings
2021-04-23 10:38:49 +02:00
Damir Jelić
a7c2a645aa
rooms: Override the joined_members() method so we return the correct RoomMember
2021-04-21 15:47:44 +02:00
Damir Jelić
cb58c499b3
crypto: Store that our outbound session was invalidated
2021-04-12 13:47:38 +02:00
Kévin Commaille
dadd2fa68c
Bump ruma to e2728a70812412aade9322f6ad832731978a4240
2021-04-11 12:04:53 +02:00
Damir Jelić
fdb1e3482e
Merge branch 'bump-ruma'
2021-04-06 12:44:33 +02:00
Kévin Commaille
7c34ac4e82
Bump ruma to 2f1b9f097930bf7908ca539f2ab7bb0ccf5d8b25
...
Use MxcUri instead of String for media URLs.
Fix wrong MXC URIs in tests.
Remove method parse_mxc no longer useful.
Apply new non-exhaustive types: CrossSigningKey, OneTimeKey and SignedKey.
Apply endpoint name change: send_state_event_for_key to send_state_event
2021-04-05 19:49:55 +02:00
Julian Sparber
e72f4cee59
matrix-sdk: Add RoomMember
2021-04-02 20:39:50 +02:00
Julian Sparber
84b187ec12
matrix-sdk: Add function to get room avatar
2021-03-25 15:01:41 +01:00
Damir Jelić
9d0085d4dd
matrix-sdk: Add the Client level room send method back
2021-03-23 14:00:20 +01:00
Damir Jelić
e9dff24ba7
Merge branch 'add_room_enum'
2021-03-17 15:08:02 +01:00
Julian Sparber
19cacb1f26
matrix-sdk: Add `room::State` enum
...
This enum contains the room in the Joined, Left and Invited state.
2021-03-17 13:08:31 +01:00
Julian Sparber
5d66ff475f
matrix-sdk: Reexport matrix_sdk_base::Room as BaseRoom
2021-03-17 12:17:37 +01:00
Damir Jelić
9aad775f01
Merge branch 'lock_requests'
2021-03-16 17:01:04 +01:00
Damir Jelić
ec88e28fd2
Merge branch 'fix-examples'
2021-03-16 16:54:00 +01:00
Weihang Lo
de1bf2b89f
matrix-sdk: fix accidentally hidden lines in examples
2021-03-16 23:15:51 +08:00
Weihang Lo
8c1761faed
matrix-sdk: hide get joined room logic
2021-03-16 21:55:15 +08:00
Weihang Lo
b110ee27fa
client: PUT /_matrix/client/r0/rooms/{roomId}/redact/{eventId}/{txnId}
2021-03-16 21:49:47 +08:00
Julian Sparber
5465a7b511
matrix-sdk: prevent frequent typing_notice requests
2021-03-16 10:50:50 +01:00
Julian Sparber
2f769726dd
matrix-sdk: prevent dupplicated members requests
2021-03-15 12:32:57 +01:00
Julian Sparber
31dd031269
matrix-sdk: Move room specific methods to room structs
2021-03-15 10:54:45 +01:00
Julian Sparber
88e230689e
matrix-sdk: Add high-level room API
2021-03-13 13:15:50 +01:00