events: Add missing serde rename for Relation emoji

This commit is contained in:
Häcker Felix 2021-06-27 21:45:46 +02:00 committed by GitHub
parent f43c9c6caa
commit 653e4c4838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@ pub struct Relation {
pub event_id: EventId,
/// A string that holds the emoji reaction.
#[serde(rename = "key")]
pub emoji: String,
}