aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/ShowFullscreenMessageActivity.java1
-rw-r--r--src/main/java/eu/siacs/conversations/ui/XmppActivity.java4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ShowFullscreenMessageActivity.java b/src/main/java/eu/siacs/conversations/ui/ShowFullscreenMessageActivity.java
index 43791ec7f..6e5593f03 100644
--- a/src/main/java/eu/siacs/conversations/ui/ShowFullscreenMessageActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/ShowFullscreenMessageActivity.java
@@ -86,7 +86,6 @@ public class ShowFullscreenMessageActivity extends Activity {
Glide.with(this)
.load(file)
.asBitmap()
- .signature(new StringSignature(String.valueOf(System.currentTimeMillis())))
.into(new BitmapImageViewTarget(mImage) {
@Override
public void onResourceReady(Bitmap resource, GlideAnimation<? super Bitmap> glideAnimation) {
diff --git a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java
index c2ff47df4..0655c6578 100644
--- a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java
@@ -1221,7 +1221,7 @@ public abstract class XmppActivity extends Activity {
.fitCenter()
//.centerCrop()
.diskCacheStrategy(DiskCacheStrategy.RESULT)
- .signature(new StringSignature(String.valueOf(System.currentTimeMillis())))
+ .signature(new StringSignature(String.valueOf(System.currentTimeMillis()/(1*60*60*1000))))
.into(imageView);
} catch (Exception e) {
e.printStackTrace();
@@ -1249,7 +1249,7 @@ public abstract class XmppActivity extends Activity {
//.centerCrop()
.diskCacheStrategy(DiskCacheStrategy.RESULT)
.videoDecoder(fileDescriptorBitmapDecoder)
- .signature(new StringSignature(String.valueOf(System.currentTimeMillis())))
+ .signature(new StringSignature(String.valueOf(System.currentTimeMillis()/(1*60*60*1000))))
.into(imageView);
} catch (Exception e) {
e.printStackTrace();