Fix expiration clock UI reseting incorrectly on edit.
This commit is contained in:
parent
5ddd1651ee
commit
15b59457f7
1 changed files with 1 additions and 0 deletions
|
@ -3000,6 +3000,7 @@ open class MessageTable(context: Context?, databaseHelper: SignalDatabase) : Dat
|
|||
if (editedMessage != null) {
|
||||
contentValues.put(ORIGINAL_MESSAGE_ID, editedMessage.getOriginalOrOwnMessageId().id)
|
||||
contentValues.put(REVISION_NUMBER, editedMessage.revisionNumber + 1)
|
||||
contentValues.put(EXPIRE_STARTED, editedMessage.expireStarted)
|
||||
} else {
|
||||
contentValues.putNull(ORIGINAL_MESSAGE_ID)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue