mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Fixed message text lost on wakeup
This commit is contained in:
parent
db7608a833
commit
240f96c194
1 changed files with 3 additions and 0 deletions
|
@ -390,6 +390,9 @@ public class ServiceUI extends IntentService {
|
|||
db.message().deleteMessage(id);
|
||||
message.id = null;
|
||||
message.id = db.message().insertMessage(message);
|
||||
if (message.content)
|
||||
EntityMessage.getFile(this, id)
|
||||
.renameTo(message.getFile(this));
|
||||
db.message().setMessageSnoozed(message.id, null);
|
||||
EntityOperation.queue(this, message, EntityOperation.SEEN, false, false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue