HomePhabricator
Diffusion Comm 24d90e000ecc

[identity] refactor message validation

Description

[identity] refactor message validation

Summary:
a lot of this code will be reused later when we validate messages from the keyserver to add and remove usernames from the reserved list

this refactor makes it easier to reuse the validation code

Depends on D8231

Test Plan: tested later when the validate helper is called

Reviewers: jon, bartek

Reviewed By: bartek

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8232

Details

Provenance
varunAuthored on Jun 15 2023, 11:57 PM
Reviewer
bartek
Differential Revision
D8232: [identity] refactor message validation
Parents
rCOMMec4c44bb5ab1: [web] Hide `EditUserAvatarMenu` when `userAvatarSaveInProgress`
Branches
Unknown
Tags
Unknown