mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-06 03:49:58 +02:00
fix sharing multiple files (#901)
This commit is contained in:
parent
84bdc42c7c
commit
06e62903ef
3 changed files with 2 additions and 7 deletions
|
@ -640,7 +640,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||
.setNegativeButton(android.R.string.cancel, ((dialog, which) -> {
|
||||
finish();
|
||||
}))
|
||||
.setPositiveButton(R.string.menu_send, (dialog, which) -> new RelayingTask(this, chatId).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR))
|
||||
.setPositiveButton(R.string.menu_send, (dialog, which) -> new RelayingTask(this, chatId).execute())
|
||||
.show();
|
||||
} else {
|
||||
if (uriList.size() == 1) {
|
||||
|
@ -1129,9 +1129,6 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||
for(Uri uri : uris) {
|
||||
DcMsg message = createMessage(activityRef.get(), uri);
|
||||
dcContext.sendMsg(chatId, message);
|
||||
}
|
||||
|
||||
for(Uri uri : uris) {
|
||||
cleanup(activity, uri);
|
||||
}
|
||||
} catch (NullPointerException npe) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue