diff options
author | fiaxh <git@lightrise.org> | 2020-04-03 22:49:59 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-04-03 22:49:59 +0200 |
commit | 871ff33ac79f3d17b0260b8bfcd27780038edd6d (patch) | |
tree | f8079e29db5d0f9294fbfbfb47b93b0403249cc9 /libdino/src/entity/message.vala | |
parent | 1c8e15c408f57d93461e6adb33c4c4415ac49267 (diff) | |
download | dino-871ff33ac79f3d17b0260b8bfcd27780038edd6d.tar.gz dino-871ff33ac79f3d17b0260b8bfcd27780038edd6d.zip |
Add support for last message correction
Diffstat (limited to 'libdino/src/entity/message.vala')
-rw-r--r-- | libdino/src/entity/message.vala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdino/src/entity/message.vala b/libdino/src/entity/message.vala index e87d0e3a..bce3bec4 100644 --- a/libdino/src/entity/message.vala +++ b/libdino/src/entity/message.vala @@ -57,6 +57,7 @@ public class Message : Object { marked_ = value; } } + public string? edit_to = null; private Database? db; @@ -94,6 +95,8 @@ public class Message : Object { string? real_jid_str = row[db.real_jid.real_jid]; if (real_jid_str != null) real_jid = new Jid(real_jid_str); + edit_to = row[db.message_correction.to_stanza_id]; + notify.connect(on_update); } |