forked from mirror/monocles_chat_clean
If we are cached only then pass that through
(cherry picked from commit be73a001719ac6e6201457d543c16251fc96cadb)
This commit is contained in:
parent
c0ed3a0481
commit
92cbf35a31
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ public class AvatarService implements OnAdvancedStreamFeaturesLoaded {
|
|||
avatar = mXmppConnectionService.getFileBackend().getAvatar(contact.getAvatarFilename(), size);
|
||||
}
|
||||
if (avatar == null) {
|
||||
avatar = get(contact.getDisplayName(), contact.getJid().asBareJid().toString(), size, false);
|
||||
avatar = get(contact.getDisplayName(), contact.getJid().asBareJid().toString(), size, cachedOnly);
|
||||
}
|
||||
if (avatar != null) this.mXmppConnectionService.getDrawableCache().put(KEY, avatar);
|
||||
return avatar;
|
||||
|
|
Loading…
Add table
Reference in a new issue