File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
deltachat-jsonrpc/src/api/types Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,9 @@ enum MessageQuote {
104
104
WithMessage {
105
105
text : String ,
106
106
message_id : u32 ,
107
+ /// The quoted message does not always belong
108
+ /// to the parent message's chat, e.g. when "Reply Privately" is used.
109
+ chat_id : u32 ,
107
110
author_display_name : String ,
108
111
author_display_color : String ,
109
112
override_sender_name : Option < String > ,
@@ -147,6 +150,7 @@ impl MessageObject {
147
150
Some ( MessageQuote :: WithMessage {
148
151
text : quoted_text,
149
152
message_id : quote. get_id ( ) . to_u32 ( ) ,
153
+ chat_id : quote. get_chat_id ( ) . to_u32 ( ) ,
150
154
author_display_name : quote_author. get_display_name ( ) . to_owned ( ) ,
151
155
author_display_color : color_int_to_hex_string ( quote_author. get_color ( ) ) ,
152
156
override_sender_name : quote. get_override_sender_name ( ) ,
You can’t perform that action at this time.
0 commit comments