Page MenuHomePhabricator

[lib] Fix auth with non authoritative keyserver error
ClosedPublic

Authored by inka on Mar 21 2024, 1:11 AM.
Tags
None
Referenced Files
F1773269: D11365.diff
Wed, May 15, 10:55 PM
Unknown Object (File)
Fri, May 10, 12:53 AM
Unknown Object (File)
Thu, Apr 25, 12:49 PM
Unknown Object (File)
Thu, Apr 25, 12:48 PM
Unknown Object (File)
Fri, Apr 19, 12:33 AM
Unknown Object (File)
Apr 13 2024, 1:58 AM
Unknown Object (File)
Apr 5 2024, 4:58 AM
Unknown Object (File)
Apr 4 2024, 11:46 AM
Subscribers

Details

Summary

This fixes a problem described in this comment: https://linear.app/comm/issue/ENG-7312/terms-of-service-modal-popping-up-unexpectedly#comment-64686c0a
We can auth with a different keyserver than the authoritative one, so responses[authoritativeKeyserverID()] may not exist

Test Plan

Reading the code - since responses[authoritativeKeyserverID()] may not exist, we have to do this. We also do this for currentUserInfo a couple of lines higher

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable