mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 17:59:39 +02:00
do not ask on forwarding messages to 'saved messages'
This commit is contained in:
parent
b4c0d56a8c
commit
e2a5d93adb
1 changed files with 14 additions and 10 deletions
|
@ -603,6 +603,9 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||||
|
|
||||||
private void handleForwarding() {
|
private void handleForwarding() {
|
||||||
DcChat dcChat = dcContext.getChat(chatId);
|
DcChat dcChat = dcContext.getChat(chatId);
|
||||||
|
if (dcChat.isSelfTalk()) {
|
||||||
|
new RelayingTask(this, chatId).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
|
} else {
|
||||||
String name = dcChat.getName();
|
String name = dcChat.getName();
|
||||||
if (!dcChat.isGroup()) {
|
if (!dcChat.isGroup()) {
|
||||||
int[] contactIds = dcContext.getChatContacts(chatId);
|
int[] contactIds = dcContext.getChatContacts(chatId);
|
||||||
|
@ -616,6 +619,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||||
.setNegativeButton(R.string.cancel, (dialogInterface, i) -> finish())
|
.setNegativeButton(R.string.cancel, (dialogInterface, i) -> finish())
|
||||||
.show();
|
.show();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void handleSharing() {
|
private void handleSharing() {
|
||||||
ArrayList<Uri> uriList = RelayUtil.getSharedUris(this);
|
ArrayList<Uri> uriList = RelayUtil.getSharedUris(this);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue