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)
Sun, Oct 27, 8:20 AM
Unknown Object (File)
Sun, Oct 27, 8:17 AM
Unknown Object (File)
Tue, Oct 22, 4:01 AM
Unknown Object (File)
Wed, Oct 16, 1:19 AM
Unknown Object (File)
Fri, Oct 11, 9:22 PM
Unknown Object (File)
Thu, Oct 10, 7:59 PM
Unknown Object (File)
Fri, Oct 4, 3:16 PM
Unknown Object (File)
Fri, Oct 4, 10:23 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