Page MenuHomePhabricator

[keyserver] Create messages for open GENESIS subchannels
ClosedPublic

Authored by ashoat on Aug 11 2022, 8:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 28, 6:30 PM
Unknown Object (File)
Tue, Jun 25, 11:04 PM
Unknown Object (File)
Wed, Jun 12, 10:32 PM
Unknown Object (File)
Wed, Jun 12, 8:55 AM
Unknown Object (File)
May 23 2024, 8:46 PM
Unknown Object (File)
May 15 2024, 2:24 AM
Unknown Object (File)
May 1 2024, 6:20 PM
Unknown Object (File)
Apr 20 2024, 4:02 PM

Details

Summary

To avoid spammming everybody, today we don't create messages when a subchannel of GENESIS is created.

But for the seed round party, we want to create an open subchannel of GENESIS that everybody can access. To make it easy to access, we want to have a message appear in GENESIS about the channel.

This diff makes it so the messages are still created for open subchannels of GENESIS. The only way for an open subchannel of GENESIS to be created is for me (@ashoat) to do it manually, so this is safe.

Test Plan

I tested this in my local environment and it created a message (but only when combined with the hacks listed here)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Aug 11 2022, 8:38 AM

Looks good

(Off-topic but it seems like one day it'd be good to break apart the queries and logic in createThread(...) into separate functions so individual pieces of logic like this can be unit tested etc)