Prevent replies on action messages.

Fixes #7829
This commit is contained in:
Greyson Parrelli 2018-05-23 15:16:42 -04:00
parent abae419853
commit 0503c9eea5

View File

@ -266,7 +266,8 @@ public class ConversationFragment extends Fragment
menu.findItem(R.id.menu_context_forward).setVisible(!actionMessage);
menu.findItem(R.id.menu_context_details).setVisible(!actionMessage);
menu.findItem(R.id.menu_context_reply).setVisible(!messageRecord.isPending() &&
menu.findItem(R.id.menu_context_reply).setVisible(!actionMessage &&
!messageRecord.isPending() &&
!messageRecord.isFailed() &&
messageRecord.isSecure());
}