mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Fix #2040
This commit is contained in:
@@ -126,6 +126,10 @@ public class ConversationListActivity extends PassphraseRequiredActionBarActivit
|
||||
refreshTitle();
|
||||
handleOpenpgp4fpr();
|
||||
|
||||
if (isDirectSharing(this)) {
|
||||
openConversation(getDirectSharingChatId(this), -1);
|
||||
}
|
||||
|
||||
if (getIntent().getBooleanExtra(CLEAR_NOTIFICATIONS, false)) {
|
||||
DcHelper.getNotificationCenter(this).removeAllNotifiations();
|
||||
}
|
||||
@@ -135,9 +139,6 @@ public class ConversationListActivity extends PassphraseRequiredActionBarActivit
|
||||
if (isRelayingMessageContent(this)) {
|
||||
title.setText(isForwarding(this) ? R.string.forward_to : R.string.chat_share_with_title);
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
if (isDirectSharing(this)) {
|
||||
openConversation(getDirectSharingChatId(this), -1);
|
||||
}
|
||||
} else {
|
||||
title.setText(DcHelper.getConnectivitySummary(this, R.string.app_name));
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
|
||||
|
||||
Reference in New Issue
Block a user