Display corrected messages with original message time

Regression from cdb4d77
This commit is contained in:
fiaxh 2021-10-13 00:25:14 +02:00
parent b71196ef07
commit e2de74d629

View file

@ -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;