Skip to content

Commit 53f02c9

Browse files
committed
chore: bump Ruma
So as to get some changes for Element Call: ruma/ruma#2176
1 parent e2f0b4f commit 53f02c9

File tree

3 files changed

+25
-20
lines changed

3 files changed

+25
-20
lines changed

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ proptest = { version = "1.6.0", default-features = false, features = ["std"] }
5959
rand = "0.8.5"
6060
reqwest = { version = "0.12.12", default-features = false }
6161
rmp-serde = "1.3.0"
62-
ruma = { git = "https://github.com/ruma/ruma", rev = "e73f302e4df7f5f0511fca1aa43853d4cf8416c8", features = [
62+
ruma = { git = "https://github.com/ruma/ruma", rev = "a2fe858133ba932b4bda730dc7472c9c985739a0", features = [
6363
"client-api-c",
6464
"compat-upload-signatures",
6565
"compat-arbitrary-length-ids",
@@ -79,7 +79,7 @@ ruma = { git = "https://github.com/ruma/ruma", rev = "e73f302e4df7f5f0511fca1aa4
7979
"unstable-msc4286",
8080
"unstable-msc4306"
8181
] }
82-
ruma-common = { git = "https://github.com/ruma/ruma", rev = "e73f302e4df7f5f0511fca1aa43853d4cf8416c8" }
82+
ruma-common = { git = "https://github.com/ruma/ruma", rev = "a2fe858133ba932b4bda730dc7472c9c985739a0" }
8383
sentry = "0.36.0"
8484
sentry-tracing = "0.36.0"
8585
serde = { version = "1.0.217", features = ["rc"] }

crates/matrix-sdk-base/src/room/call.rs

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -133,17 +133,22 @@ mod tests {
133133
"https://lk.org".to_owned(),
134134
))];
135135
let focus_active = ActiveFocus::Livekit(ActiveLivekitFocus::new());
136+
136137
let (content, state_key) = match init_data {
137-
Some(InitData { device_id, minutes_ago }) => (
138-
CallMemberEventContent::new(
139-
application,
140-
device_id.to_owned(),
141-
focus_active,
142-
foci_preferred,
143-
Some(timestamp(minutes_ago)),
144-
),
145-
CallMemberStateKey::new(user_id.to_owned(), Some(device_id.to_owned()), false),
146-
),
138+
Some(InitData { device_id, minutes_ago }) => {
139+
let member_id = format!("{device_id}_m.call");
140+
(
141+
CallMemberEventContent::new(
142+
application,
143+
device_id.to_owned(),
144+
focus_active,
145+
foci_preferred,
146+
Some(timestamp(minutes_ago)),
147+
),
148+
CallMemberStateKey::new(user_id.to_owned(), Some(member_id), false),
149+
)
150+
}
151+
147152
None => (
148153
CallMemberEventContent::new_empty(None),
149154
CallMemberStateKey::new(user_id.to_owned(), None, false),

0 commit comments

Comments
 (0)