Display corrected messages with original message time
Regression from cdb4d77
This commit is contained in:
parent
b71196ef07
commit
e2de74d629
|
@ -53,6 +53,7 @@ public class ContentItemStore : StreamInteractionModule, Object {
|
||||||
Message? message = stream_interactor.get_module(MessageStorage.IDENTITY).get_message_by_id(foreign_id, conversation);
|
Message? message = stream_interactor.get_module(MessageStorage.IDENTITY).get_message_by_id(foreign_id, conversation);
|
||||||
if (message != null) {
|
if (message != null) {
|
||||||
var message_item = new MessageItem(message, conversation, row[db.content_item.id]);
|
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);
|
items.add(message_item);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue