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
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)
Sat, Apr 13, 1:58 AM
Unknown Object (File)
Fri, Apr 5, 4:58 AM
Unknown Object (File)
Thu, Apr 4, 11:46 AM
Unknown Object (File)
Wed, Apr 3, 8:57 AM
Unknown Object (File)
Sat, Mar 30, 11:34 PM
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