Fix a typo
This commit is contained in:
parent
b2542df2bb
commit
65d0880dc9
@ -67,7 +67,7 @@ impl AudioMessageEventContent {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates a new non-encrypted `AudioMessageEventContent` with the given bod and url.
|
/// Creates a new non-encrypted `AudioMessageEventContent` with the given body and url.
|
||||||
pub fn plain(body: String, url: OwnedMxcUri) -> Self {
|
pub fn plain(body: String, url: OwnedMxcUri) -> Self {
|
||||||
Self::new(body, MediaSource::Plain(url))
|
Self::new(body, MediaSource::Plain(url))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user