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@{