diff options
Diffstat (limited to 'src/main/java/de/pixart')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ShareWithActivity.java | 2 |
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()); |