forked from blue/squawk
now it's possible to fix your messages
This commit is contained in:
parent
bf4a27f35d
commit
788c6ca556
13 changed files with 204 additions and 85 deletions
|
@ -404,7 +404,9 @@ bool Shared::Message::change(const QMap<QString, QVariant>& data)
|
|||
correctionDate = QDateTime::currentDateTimeUtc(); //in case there is no information about time of this correction it's applied
|
||||
}
|
||||
if (!edited || lastModified < correctionDate) {
|
||||
originalMessage = body;
|
||||
if (!edited) {
|
||||
originalMessage = body;
|
||||
}
|
||||
lastModified = correctionDate;
|
||||
setBody(b);
|
||||
setEdited(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue