From 9bf24dc27dddbb6687a572583ce6d2ebd9a2a86b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 24 Jan 2024 04:48:47 +0100 Subject: [PATCH] Replace TODO with comment --- .../java/eu/steffo/twom/composables/viewroom/InviteUserForm.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/steffo/twom/composables/viewroom/InviteUserForm.kt b/app/src/main/java/eu/steffo/twom/composables/viewroom/InviteUserForm.kt index af9b66c..9158f1a 100644 --- a/app/src/main/java/eu/steffo/twom/composables/viewroom/InviteUserForm.kt +++ b/app/src/main/java/eu/steffo/twom/composables/viewroom/InviteUserForm.kt @@ -73,7 +73,7 @@ fun InviteUserForm( modifier = Modifier .basePadding() .fillMaxWidth(), - // FIXME: Maybe I should validate usernames with a regex + // A cool thing to do would be resolving the userId exists on the server side, and display the avatar if it does resolve successfully... enabled = (!busy && userId.contains("@") && userId.contains(":")), onClick = { scope.launch SendInvite@{