Fix mistakenly renamed struct

This commit is contained in:
Jonas Platte 2020-07-26 16:04:12 +02:00
parent c363494905
commit 2e0a765820
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
2 changed files with 4 additions and 2 deletions

View File

@ -30,6 +30,8 @@ Breaking changes:
session::login,
}
```
* Rename `r0::search::search_events::{RoomEventJsons => ResultRoomEvents}`. The previous name was an
error introduced in a mass search and replace
Improvements:

View File

@ -194,12 +194,12 @@ pub enum OrderBy {
pub struct ResultCategories {
/// Room event results.
#[serde(skip_serializing_if = "Option::is_none")]
pub room_events: Option<RoomEventJsons>,
pub room_events: Option<ResultRoomEvents>,
}
/// Categories of events that can be searched for.
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct RoomEventJsons {
pub struct ResultRoomEvents {
/// An approximate count of the total number of results found.
pub count: UInt,