aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-01-27 21:54:17 +0100
committerChristian Schneppe <christian@pix-art.de>2018-01-27 21:54:17 +0100
commitf4d40674fc76ad1cb6722110be12fc491a8d8ae7 (patch)
tree4b8d7390488701810a6b639d4e1b4a152dff91fd /src/main/java/de/pixart
parentf4f11f10b96ab15739522d02097904f686eaf02e (diff)
fixed sharing multiple images
Diffstat (limited to 'src/main/java/de/pixart')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ShareWithActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java b/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java
index 18afea15d..15e7b7267 100644
--- a/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java
@@ -348,7 +348,7 @@ public class ShareWithActivity extends XmppActivity implements XmppConnectionSer
for (Iterator<Uri> i = share.uris.iterator(); i.hasNext(); i.remove()) {
final Uri uri = i.next();
delegateUriPermissionsToService(uri);
- ShareWithActivity.this.xmppConnectionService.attachImageToConversation(conversation, i.next(), attachFileCallback);
+ xmppConnectionService.attachImageToConversation(conversation, uri, attachFileCallback);
}
} else {
Log.d(Config.LOGTAG, "ShareWithActivity share() file " + share.uris.size() + " uri(s) " + share.uris.toString());