Page MenuHomePhabricator

[keyserver] Throw an exception when trying to create a DM on a non-auth keyserver
ClosedPublic

Authored by tomek on May 28 2024, 5:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 3:10 AM
Unknown Object (File)
Sun, Nov 24, 12:35 AM
Unknown Object (File)
Sun, Nov 24, 12:03 AM
Unknown Object (File)
Sat, Nov 23, 10:12 PM
Unknown Object (File)
Sun, Nov 17, 7:15 AM
Unknown Object (File)
Thu, Nov 7, 1:04 PM
Unknown Object (File)
Sun, Nov 3, 7:46 PM
Unknown Object (File)
Sun, Nov 3, 7:46 PM
Subscribers

Details

Summary

Currently the DMs are hosted on the authoritative keyserver and can't be created on non-auth ones.

https://linear.app/comm/issue/ENG-7845/stop-creating-dms-on-non-authoritative-keyservers

Depends on D12228

Test Plan

Tested this by removing authoritative keyserver check when creating threads while setting up a new db - this causes an attempt to create a thread in GENESIS. On authoritative keyserver it works. On a non-auth keyserver an exception is thrown - as expected.

Diff Detail

Repository
rCOMM Comm
Branch
genesis
Lint
No Lint Coverage
Unit
No Test Coverage