From 8d97f31b4d5bf79d7f69887ca871210e431c40e5 Mon Sep 17 00:00:00 2001 From: alansley Date: Wed, 28 Aug 2024 14:31:52 +1000 Subject: [PATCH] Adjusted comment --- .../thoughtcrime/securesms/groups/EditClosedGroupActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/groups/EditClosedGroupActivity.kt b/app/src/main/java/org/thoughtcrime/securesms/groups/EditClosedGroupActivity.kt index 03050e6291..11dde4b93e 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/groups/EditClosedGroupActivity.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/groups/EditClosedGroupActivity.kt @@ -310,7 +310,7 @@ class EditClosedGroupActivity : PassphraseRequiredActionBarActivity() { val userPublicKey = TextSecurePreferences.getLocalNumber(this)!! val userAsRecipient = Recipient.from(this, Address.fromSerialized(userPublicKey), false) - // There's presently way in the UI to get into the state whereby you could remove yourself from the group when removing any other members + // There's presently no way in the UI to get into the state whereby you could remove yourself from the group when removing any other members // (you can't unselect yourself - the only way to leave is to "Leave Group" from the menu) - but it's possible that this was not always // the case - so we can leave this in as defensive code in-case something goes screwy. if (!members.contains(userAsRecipient) && !members.map { it.address.toString() }.containsAll(originalMembers.minus(userPublicKey))) {