Unhide messages when found on server

This commit is contained in:
M66B 2018-09-09 05:48:19 +00:00
parent 26431f4884
commit c1584085a0
1 changed files with 6 additions and 0 deletions

View File

@ -1418,6 +1418,12 @@ public class ServiceSynchronize extends LifecycleService {
Log.i(Helper.TAG, folder.name + " updated id=" + message.id + " uid=" + message.uid + " flagged=" + flagged);
result = -1;
}
if (message.ui_hide) {
message.ui_hide = false;
db.message().updateMessage(message);
Log.i(Helper.TAG, folder.name + " unhidden id=" + message.id + " uid=" + message.uid);
result = -1;
}
}
if (message == null) {