Fix wrong json key in receipt event

This commit is contained in:
Jonas Platte 2017-08-01 18:37:22 +02:00
parent 491188db2b
commit 5a1ae50eaa

View File

@ -22,6 +22,7 @@ pub type ReceiptEventContent = HashMap<EventId, Receipts>;
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Receipts {
/// A collection of users who have sent *m.read* receipts for this event.
#[serde(rename="m.read")]
pub m_read: UserReceipts,
}