diff --git a/res/menu/conversation.xml b/res/menu/conversation.xml index 0c369f39d7..d57a0beaf5 100644 --- a/res/menu/conversation.xml +++ b/res/menu/conversation.xml @@ -10,4 +10,7 @@ + + diff --git a/res/values/strings.xml b/res/values/strings.xml index 2ba3199955..4363536aa1 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -926,6 +926,7 @@ Leave group Delete thread All images + Conversation settings Expand popup diff --git a/src/org/thoughtcrime/securesms/ConversationActivity.java b/src/org/thoughtcrime/securesms/ConversationActivity.java index a6c5a18571..121af277b4 100644 --- a/src/org/thoughtcrime/securesms/ConversationActivity.java +++ b/src/org/thoughtcrime/securesms/ConversationActivity.java @@ -355,6 +355,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity case R.id.menu_invite: handleInviteLink(); return true; case R.id.menu_mute_notifications: handleMuteNotifications(); return true; case R.id.menu_unmute_notifications: handleUnmuteNotifications(); return true; + case R.id.menu_conversation_settings: handleConversationSettings(); return true; case android.R.id.home: handleReturnToConversationList(); return true; } @@ -403,6 +404,10 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity }); } + private void handleConversationSettings() { + titleView.performClick(); + } + private void handleUnmuteNotifications() { recipients.setMuted(0);