aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2021-10-13 00:25:14 +0200
committerfiaxh <git@lightrise.org>2021-10-13 00:25:14 +0200
commite2de74d6299a2ba516d22cc9a0ea1222e4d635fd (patch)
tree9923124b294e9be17f1ca59a99221c0583159a33
parentb71196ef073dc1c49f4e42c0380b553286fe426c (diff)
downloaddino-e2de74d6299a2ba516d22cc9a0ea1222e4d635fd.tar.gz
dino-e2de74d6299a2ba516d22cc9a0ea1222e4d635fd.zip
Display corrected messages with original message time
Regression from cdb4d77
-rw-r--r--libdino/src/service/content_item_store.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdino/src/service/content_item_store.vala b/libdino/src/service/content_item_store.vala
index 60b05a8b..ddb6571a 100644
--- a/libdino/src/service/content_item_store.vala
+++ b/libdino/src/service/content_item_store.vala
@@ -53,6 +53,7 @@ public class ContentItemStore : StreamInteractionModule, Object {
Message? message = stream_interactor.get_module(MessageStorage.IDENTITY).get_message_by_id(foreign_id, conversation);
if (message != null) {
var message_item = new MessageItem(message, conversation, row[db.content_item.id]);
+ message_item.time = time; // In case of message corrections, the original time should be used
items.add(message_item);
}
break;