mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 13:40:55 -04:00
chore(sdk-base): fix typos following typos crate bump to 1.30.0
This commit is contained in:
committed by
Stefan Ceriu
parent
43d25127c3
commit
78282bf1e1
@@ -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")]
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user