Page MenuHomePhabricator

[keyserver] Introduce sendMessagesOnAccountCreation
ClosedPublic

Authored by ashoat on May 14 2024, 4:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 24, 4:06 AM
Unknown Object (File)
Mon, Jun 24, 4:06 AM
Unknown Object (File)
Mon, Jun 24, 4:06 AM
Unknown Object (File)
Thu, Jun 20, 2:08 PM
Unknown Object (File)
Thu, Jun 20, 10:27 AM
Unknown Object (File)
Wed, Jun 19, 8:20 AM
Unknown Object (File)
Mon, Jun 17, 9:25 AM
Unknown Object (File)
Wed, Jun 12, 10:55 AM
Subscribers

Details

Summary

This diff does two things:

  1. Rename processAccountCreationCommon to sendMessagesOnAccountCreation to more accurately reflect its newly reduced scope
  2. Update it to return the list of rawMessageInfos so that it can be used from createAccount (legacy registration endpoint)

I decided to do this while working on ENG-8101, but it doesn't directly address that issue.

Test Plan
  1. I tested account creation via keyserver auth in a multi-keyserver environment
  2. I tested legacy account creation in a legacy environment

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable