mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-15 17:00:15 +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) {
|
if (isClosedGroup) {
|
||||||
MessageSender.explicitLeave(groupPublicKey!!, false)
|
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
|
// Delete the conversation
|
||||||
|
Reference in New Issue
Block a user