mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 18:53:40 +00:00
fix: don't enable expiring messages in not approvedMe conversations
This commit is contained in:
parent
c6cf7a24d7
commit
ad5911e247
@ -58,7 +58,7 @@ object ConversationMenuHelper {
|
||||
// Base menu (options that should always be present)
|
||||
inflater.inflate(R.menu.menu_conversation, menu)
|
||||
// Expiring messages
|
||||
if (!isOpenGroup) {
|
||||
if (!isOpenGroup && thread.hasApprovedMe()) {
|
||||
if (thread.expireMessages > 0) {
|
||||
inflater.inflate(R.menu.menu_conversation_expiration_on, menu)
|
||||
val item = menu.findItem(R.id.menu_expiring_messages)
|
||||
|
Loading…
x
Reference in New Issue
Block a user