# Once we email someone an invite, honor the invitation · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/fdf758e05075e15325a798107dced49063dfa423)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: fdf758e05075e15325a798107dced49063dfa423

Requested commit: fdf758e05075e15325a798107dced49063dfa423

Commit: fdf758e05075e15325a798107dced49063dfa423

Tree: 771afce8363c04cf3e168a19daf48732c7cdb3af

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Once we email someone an invite, honor the invitation

Previously, we were waiting to decrement the invite_count until a user
confirmed their email address, which created weird situations where we would
email people only to have them get a 500 when trying to sign up. Now, we
decrement the invite_count upon sending the email and always honor the
invitation.

Co-Authored-By: Joseph Lyons <joseph@zed.dev>
Co-Authored-By: Max Brunsfeld <max@zed.dev>

```

## Parents

- [0dfacd7ffa51f139b716f32b956e5549104515f7](https://git.cafe/gitcafe/zed/commit/0dfacd7ffa51f139b716f32b956e5549104515f7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/fdf758e05075e15325a798107dced49063dfa423?format=markdown)
