Fixed message text lost on wakeup

pull/167/head
M66B 5 years ago
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…
Cancel
Save