mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01: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) {
|
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
|
||||||
|
|
Loading…
Reference in a new issue