This commit is contained in:
Hocuri
2021-10-01 13:01:21 +02:00
parent 2c6f849676
commit 0f102ffc88
@@ -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);