From 294e19d9627d1206eab6a368a362b27b6471c72a Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 25 Jan 2018 12:48:04 +0100 Subject: [PATCH] fixed sharing multiple images --- src/main/java/eu/siacs/conversations/ui/ShareWithActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/ui/ShareWithActivity.java b/src/main/java/eu/siacs/conversations/ui/ShareWithActivity.java index de6fbd23f..9457a2ef3 100644 --- a/src/main/java/eu/siacs/conversations/ui/ShareWithActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ShareWithActivity.java @@ -320,7 +320,7 @@ public class ShareWithActivity extends XmppActivity implements XmppConnectionSer for (Iterator i = share.uris.iterator(); i.hasNext(); i.remove()) { final Uri uri = i.next(); delegateUriPermissionsToService(uri); - xmppConnectionService.attachImageToConversation(conversation, i.next(), attachFileCallback); + xmppConnectionService.attachImageToConversation(conversation, uri, attachFileCallback); } } else { replaceToast(getString(R.string.preparing_file));