when we create a new account with a username, we should add it to the reserved usernames list
being maintained by the identity service.
when we delete an existing account with a username, we should remove it from the reserved usernames list being maintained by the identity service.
Depends on D8299
Let's avoid passing constants as number literals like this. Instead, please define something like eg. threadTypes, so that this code is more "readable" at the callsite (eg. we would see something like olmMessageTypes.TEXT or something)