@@ -47,6 +47,8 @@ func getUser(e string) (int, error) {
}
func addUser(u userInfo) {
_, err := getUser(u.Email)
if err != nil {
users = append(
users,
user{
@@ -55,3 +57,4 @@ func addUser(u userInfo) {
},
)
The note is not visible to the blocked user.