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
Felix Häcker
f3620e7072
room: Add event() method to retrieve a room event
2021-07-25 20:51:46 +02:00
Jonas Platte
4a7010bab1
Reexport independent external crates entirely
...
… instead of reexporting individual items.
2021-06-23 16:12:22 +02:00
SaurusXI
58369fe7d0
matrix-sdk: (fix) use macro for matching in are_events_visible
2021-06-21 20:14:40 +05:30
SaurusXI
ae5be67322
matrix-sdk: (fix) return Ok(()) in ensure_members when returning early
2021-06-21 18:28:11 +05:30
SaurusXI
b984fcca0c
matrix-sdk: (fix) correct the history visibility states that allow us to view events in are_events_visible
2021-06-21 18:08:38 +05:30
SaurusXI
0e84349d05
matrix-sdk: add event visibility check to ensure_members
2021-06-20 13:03:50 +05:30
SaurusXI
092ca90403
matrix-sdk: add method to check room's event visibility
2021-06-20 13:01:24 +05:30
Fisher Darling
4cc7237db3
remove getting every state event and add getters to room
2021-06-17 23:34:26 -06:00
Julian Sparber
4cdb03e64b
matrix-sdk: use media cache for avatar requests
2021-06-15 13:07:34 +02:00
Jonas Platte
26788f83f0
sdk: Depend on ruma directly
2021-06-07 19:50:13 +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
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ć
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
Damir Jelić
a7c2a645aa
rooms: Override the joined_members() method so we return the correct RoomMember
2021-04-21 15:47:44 +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
5d66ff475f
matrix-sdk: Reexport matrix_sdk_base::Room as BaseRoom
2021-03-17 12:17:37 +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