RoomFilter: fix typo

nevertheless a breaking change
This commit is contained in:
Florian Jacob 2018-05-17 17:48:09 +02:00
parent b0199a0489
commit 000b4af1b2

View File

@ -97,7 +97,7 @@ pub struct RoomFilter {
/// filters in `ephemeral`, `state`, `timeline` or `account_data`.
#[serde(skip_serializing_if = "Vec::is_empty")]
#[serde(default)]
pub room: Vec<RoomId>,
pub rooms: Vec<RoomId>,
}
/// Filter for not-room data