mirror of
https://github.com/oxen-io/session-android.git
synced 2025-07-11 11:08:36 +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) {
|
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…
x
Reference in New Issue
Block a user