events: Add missing serde rename for Relation emoji
This commit is contained in:
parent
f43c9c6caa
commit
653e4c4838
@ -43,6 +43,7 @@ pub struct Relation {
|
|||||||
pub event_id: EventId,
|
pub event_id: EventId,
|
||||||
|
|
||||||
/// A string that holds the emoji reaction.
|
/// A string that holds the emoji reaction.
|
||||||
|
#[serde(rename = "key")]
|
||||||
pub emoji: String,
|
pub emoji: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user