From 653e4c4838fb3e5809573ce0a7e763547d5f20e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A4cker=20Felix?= Date: Sun, 27 Jun 2021 21:45:46 +0200 Subject: [PATCH] events: Add missing serde rename for Relation emoji --- crates/ruma-events/src/reaction.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ruma-events/src/reaction.rs b/crates/ruma-events/src/reaction.rs index 5c26b30e..66b2d570 100644 --- a/crates/ruma-events/src/reaction.rs +++ b/crates/ruma-events/src/reaction.rs @@ -43,6 +43,7 @@ pub struct Relation { pub event_id: EventId, /// A string that holds the emoji reaction. + #[serde(rename = "key")] pub emoji: String, }