mirror of https://github.com/M66B/FairEmail.git
Fixed message text lost on wakeup
This commit is contained in:
parent
db7608a833
commit
240f96c194
|
@ -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 New Issue