mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-12 06:57:43 +00:00
fix case where closed group was impossible to delete
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user