show contact avatar in muc users unless that contact has its own avatar

This commit is contained in:
Daniel Gultsch 2016-05-26 22:37:00 +02:00
parent 841e718d6a
commit d9ff61ea2e
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ public class AvatarService implements OnAdvancedStreamFeaturesLoaded {
public Bitmap get(final MucOptions.User user, final int size, boolean cachedOnly) {
Contact c = user.getContact();
if (c != null && (c.getProfilePhoto() != null || c.getAvatar() != null)) {
if (c != null && (c.getProfilePhoto() != null || c.getAvatar() != null || user.getAvatar() == null)) {
return get(c, size, cachedOnly);
} else {
return getImpl(user, size, cachedOnly);