fixed sharing multiple images
This commit is contained in:
parent
676ac32a97
commit
294e19d962
|
@ -320,7 +320,7 @@ public class ShareWithActivity extends XmppActivity implements XmppConnectionSer
|
||||||
for (Iterator<Uri> i = share.uris.iterator(); i.hasNext(); i.remove()) {
|
for (Iterator<Uri> i = share.uris.iterator(); i.hasNext(); i.remove()) {
|
||||||
final Uri uri = i.next();
|
final Uri uri = i.next();
|
||||||
delegateUriPermissionsToService(uri);
|
delegateUriPermissionsToService(uri);
|
||||||
xmppConnectionService.attachImageToConversation(conversation, i.next(), attachFileCallback);
|
xmppConnectionService.attachImageToConversation(conversation, uri, attachFileCallback);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
replaceToast(getString(R.string.preparing_file));
|
replaceToast(getString(R.string.preparing_file));
|
||||||
|
|
Loading…
Reference in New Issue