Updated avatars

This commit is contained in:
M66B 2018-11-27 08:37:39 +01:00
parent 5b098155f8
commit c854443af8
1 changed files with 6 additions and 0 deletions

View File

@ -2173,6 +2173,12 @@ public class ServiceSynchronize extends LifecycleService {
Log.i(Helper.TAG, folder.name + " updated id=" + message.id + " uid=" + message.uid + " unhide"); Log.i(Helper.TAG, folder.name + " updated id=" + message.id + " uid=" + message.uid + " unhide");
} }
if (TextUtils.isEmpty(message.avatar)) {
message.getAvatar(context);
if (!TextUtils.isEmpty(message.avatar))
update = true;
}
if (update) if (update)
db.message().updateMessage(message); db.message().updateMessage(message);
} }