1
0
Fork 0
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:
M66B 2019-11-11 11:36:04 +01:00
parent db7608a833
commit 240f96c194

View file

@ -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);
}