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
F2902374: D12229.id40689.diff
Sat, Oct 5, 5:15 PM
F2902369: D12229.id40748.diff
Sat, Oct 5, 5:14 PM
Unknown Object (File)
Thu, Sep 26, 1:16 AM
Unknown Object (File)
Thu, Sep 26, 1:16 AM
Unknown Object (File)
Thu, Sep 26, 1:16 AM
Unknown Object (File)
Thu, Sep 26, 1:16 AM
Unknown Object (File)
Thu, Sep 26, 1:15 AM
Unknown Object (File)
Mon, Sep 16, 10:27 AM
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