Usernames: Create/update/delete in profile editor

This commit is contained in:
Scott Nonnenberg
2021-11-01 12:13:35 -07:00
committed by GitHub
parent a9cb621eb6
commit 3190f95fac
38 changed files with 923 additions and 89 deletions

View File

@@ -2203,4 +2203,13 @@ export default class MessageSender {
): Promise<string> {
return this.server.uploadAvatar(requestHeaders, avatarData);
}
async putUsername(
username: string
): Promise<ReturnType<WebAPIType['putUsername']>> {
return this.server.putUsername(username);
}
async deleteUsername(): Promise<ReturnType<WebAPIType['deleteUsername']>> {
return this.server.deleteUsername();
}
}