diff --git a/deltachat-jsonrpc/src/api/types/reactions.rs b/deltachat-jsonrpc/src/api/types/reactions.rs index 4d40775acd..91f29a1dd0 100644 --- a/deltachat-jsonrpc/src/api/types/reactions.rs +++ b/deltachat-jsonrpc/src/api/types/reactions.rs @@ -23,8 +23,11 @@ pub struct JsonrpcReaction { #[serde(rename = "Reactions", rename_all = "camelCase")] pub struct JsonrpcReactions { /// Map from a contact to it's reaction to message. + /// /// There is only a single reaction per contact, /// but this contains a list of reactions for historical reasons. + /// + /// For channels subscribers, this map is empty or contains `ContactId::SELF` only. reactions_by_contact: BTreeMap>, /// Unique reactions and their count, sorted in descending order. reactions: Vec,