mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 09:56:35 +03:00
feat: jsonrpc: add MessageObject.is_edited
This is a follow-up to https://github.com/deltachat/deltachat-core-rust/pull/6550. Partially addresses https://github.com/deltachat/deltachat-desktop/issues/4694.
This commit is contained in:
@@ -39,6 +39,8 @@ pub struct MessageObject {
|
||||
|
||||
text: String,
|
||||
|
||||
is_edited: bool,
|
||||
|
||||
/// Check if a message has a POI location bound to it.
|
||||
/// These locations are also returned by `get_locations` method.
|
||||
/// The UI may decide to display a special icon beside such messages.
|
||||
@@ -204,6 +206,7 @@ impl MessageObject {
|
||||
quote,
|
||||
parent_id,
|
||||
text: message.get_text(),
|
||||
is_edited: message.is_edited(),
|
||||
has_location: message.has_location(),
|
||||
has_html: message.has_html(),
|
||||
view_type: message.get_viewtype().into(),
|
||||
|
||||
Reference in New Issue
Block a user