mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 22:28:07 +00:00
Fixed message stored one time in clear and one time encrypted if using asynchronism while encrypting
This commit is contained in:
parent
eaa7804d81
commit
d41dba6357
1 changed files with 1 additions and 1 deletions
|
|
@ -582,7 +582,7 @@ void ChatMessagePrivate::send () {
|
|||
|
||||
currentSendStep |= ChatMessagePrivate::Step::Started;
|
||||
|
||||
if (toBeStored)
|
||||
if (toBeStored || currentSendStep == (ChatMessagePrivate::Step::Started | ChatMessagePrivate::Step::None))
|
||||
storeInDb();
|
||||
|
||||
if ((currentSendStep & ChatMessagePrivate::Step::FileUpload) == ChatMessagePrivate::Step::FileUpload) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue