diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-03-23 19:23:22 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-03-23 19:23:22 +0100 |
commit | a9b66e3ea588a0e9e621d10ad15c9456b0312b60 (patch) | |
tree | a5871ac8213f1e3fd4c98b20b621a1291acfbeb1 /src/main/java/eu/siacs/conversations/crypto | |
parent | 281cb6504683ae2b8b957e18ff3f7f7f94941777 (diff) |
allow to delete attachments. fixes #1539
Diffstat (limited to 'src/main/java/eu/siacs/conversations/crypto')
-rw-r--r-- | src/main/java/eu/siacs/conversations/crypto/PgpEngine.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/crypto/PgpEngine.java b/src/main/java/eu/siacs/conversations/crypto/PgpEngine.java index c05cf2ee..7ca5bea0 100644 --- a/src/main/java/eu/siacs/conversations/crypto/PgpEngine.java +++ b/src/main/java/eu/siacs/conversations/crypto/PgpEngine.java @@ -2,7 +2,6 @@ package eu.siacs.conversations.crypto; import android.app.PendingIntent; import android.content.Intent; -import android.net.Uri; import org.openintents.openpgp.OpenPgpSignatureResult; import org.openintents.openpgp.util.OpenPgpApi; @@ -106,7 +105,7 @@ public class PgpEngine { PgpEngine.this.mXmppConnectionService .updateMessage(message); inputFile.delete(); - mXmppConnectionService.getFileBackend().addImageFileToMedia(outputFile); + mXmppConnectionService.getFileBackend().updateMediaScanner(outputFile); callback.success(message); return; case OpenPgpApi.RESULT_CODE_USER_INTERACTION_REQUIRED: |