diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-11-23 13:27:56 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-11-23 13:27:56 +0100 |
commit | b2969350c6b9ff64c9ae14fb7edcdcc5e69d7ae2 (patch) | |
tree | 8c373e95e3c6b3f0dff7e85e9488dea455859119 /src/main/java/de/pixart/messenger | |
parent | b89c63d48eace345b3f980d962ca967d12eb95e3 (diff) |
fixed caching key not being calculated properly
Diffstat (limited to 'src/main/java/de/pixart/messenger')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/AvatarService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/services/AvatarService.java b/src/main/java/de/pixart/messenger/services/AvatarService.java index bb05004d2..3de2835b9 100644 --- a/src/main/java/de/pixart/messenger/services/AvatarService.java +++ b/src/main/java/de/pixart/messenger/services/AvatarService.java @@ -474,7 +474,7 @@ public class AvatarService implements OnAdvancedStreamFeaturesLoaded { } public Bitmap get(final String name, String seed, final int size, boolean cachedOnly) { - final String KEY = key(seed == null ? name : seed, size); + final String KEY = key(seed == null ? name : name + "\0" + seed, size); Bitmap bitmap = mXmppConnectionService.getBitmapCache().get(KEY); if (bitmap != null || cachedOnly) { return bitmap; |