diff --git a/deltachat-jsonrpc/src/api/types/message.rs b/deltachat-jsonrpc/src/api/types/message.rs index 93e7593d0..697cba35e 100644 --- a/deltachat-jsonrpc/src/api/types/message.rs +++ b/deltachat-jsonrpc/src/api/types/message.rs @@ -490,6 +490,7 @@ pub struct MessageSearchResult { author_name: String, author_color: String, author_id: u32, + chat_id: u32, chat_profile_image: Option, chat_color: String, chat_name: String, @@ -529,6 +530,7 @@ impl MessageSearchResult { author_name, author_color: color_int_to_hex_string(sender.get_color()), author_id: sender.id.to_u32(), + chat_id: chat.id.to_u32(), chat_name: chat.get_name().to_owned(), chat_color, chat_type: chat.get_type().to_u32().context("unknown chat type id")?,