mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 08:23:38 +00:00
fix case where closed group was impossible to delete
This commit is contained in:
parent
1a117b0189
commit
2c7730260d
@ -317,9 +317,6 @@ class HomeActivity : PassphraseRequiredActionBarActivity(), ConversationClickLis
|
||||
}
|
||||
if (isClosedGroup) {
|
||||
MessageSender.explicitLeave(groupPublicKey!!, false)
|
||||
} else {
|
||||
Toast.makeText(context, R.string.activity_home_leaving_group_failed_message, Toast.LENGTH_LONG).show()
|
||||
return@launch
|
||||
}
|
||||
}
|
||||
// Delete the conversation
|
||||
|
Loading…
x
Reference in New Issue
Block a user