Don't display save for conversation actions

// FREEBIE
Fixes #5661
Closes #5668
This commit is contained in:
Moxie Marlinspike 2016-09-06 18:21:35 -07:00
parent 54fc3c5690
commit 29548f4019

View File

@ -197,7 +197,8 @@ public class ConversationFragment extends Fragment
MessageRecord messageRecord = messageRecords.iterator().next(); MessageRecord messageRecord = messageRecords.iterator().next();
menu.findItem(R.id.menu_context_resend).setVisible(messageRecord.isFailed()); menu.findItem(R.id.menu_context_resend).setVisible(messageRecord.isFailed());
menu.findItem(R.id.menu_context_save_attachment).setVisible(messageRecord.isMms() && menu.findItem(R.id.menu_context_save_attachment).setVisible(!actionMessage &&
messageRecord.isMms() &&
!messageRecord.isMmsNotification() && !messageRecord.isMmsNotification() &&
((MediaMmsMessageRecord)messageRecord).containsMediaSlide()); ((MediaMmsMessageRecord)messageRecord).containsMediaSlide());