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, Jan 5, 6:45 AM
Unknown Object (File)
Mon, Dec 16, 11:10 AM
Unknown Object (File)
Mon, Dec 16, 11:10 AM
Unknown Object (File)
Mon, Dec 16, 11:10 AM
Unknown Object (File)
Mon, Dec 16, 11:10 AM
Unknown Object (File)
Nov 29 2024, 8:14 AM
Unknown Object (File)
Nov 23 2024, 6:39 PM
Unknown Object (File)
Oct 31 2024, 6:23 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