mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 09:33:39 +02:00
Allow removing avatars
This commit is contained in:
@@ -2167,11 +2167,10 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
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;
|
||||
}
|
||||
boolean noavatar = TextUtils.isEmpty(message.avatar);
|
||||
message.getAvatar(context);
|
||||
if (noavatar != TextUtils.isEmpty(message.avatar))
|
||||
update = true;
|
||||
|
||||
if (update)
|
||||
db.message().updateMessage(message);
|
||||
|
||||
Reference in New Issue
Block a user