chore(sdk-base): fix typos following typos crate bump to 1.30.0

This commit is contained in:
Stefan Ceriu
2025-03-03 17:17:14 +02:00
committed by Stefan Ceriu
parent 43d25127c3
commit 78282bf1e1
2 changed files with 5 additions and 5 deletions

View File

@@ -2502,10 +2502,10 @@ mod tests {
)
}
fn make_raw_event(typ: &str, id: &str) -> Raw<AnySyncTimelineEvent> {
fn make_raw_event(event_type: &str, id: &str) -> Raw<AnySyncTimelineEvent> {
Raw::from_json_string(
json!({
"type": typ,
"type": event_type,
"event_id": id,
"content": { "msgtype": "m.text", "body": "my msg" },
"sender": "@u:h.uk",
@@ -2517,8 +2517,8 @@ mod tests {
}
#[cfg(feature = "e2e-encryption")]
fn make_event(typ: &str, id: &str) -> TimelineEvent {
TimelineEvent::new(make_raw_event(typ, id))
fn make_event(event_type: &str, id: &str) -> TimelineEvent {
TimelineEvent::new(make_raw_event(event_type, id))
}
#[cfg(feature = "e2e-encryption")]

View File

@@ -1502,7 +1502,7 @@ pub static VOIP_SYNC: Lazy<JsonValue> = Lazy::new(|| {
"call_id": "12345",
"candidates": [
{
"candidate": "candidate:863018703 1 udp 2122260223 10.9.64.156 43670 typ host generation 0",
"candidate": "candidate:863018703 1 udp 2122260223 10.9.64.156 43670 type host generation 0",
"sdpMLineIndex": 0,
"sdpMid": "audio"
}