|
|
@ -572,6 +572,14 @@ class LokiAppDotNetServerAPI {
|
|
|
|
// set up pubKey & pubKeyHex properties
|
|
|
|
// set up pubKey & pubKeyHex properties
|
|
|
|
// optionally called for mainly file server comms
|
|
|
|
// optionally called for mainly file server comms
|
|
|
|
getPubKeyForUrl() {
|
|
|
|
getPubKeyForUrl() {
|
|
|
|
|
|
|
|
if (
|
|
|
|
|
|
|
|
!window.lokiFeatureFlags.useSnodeProxy &&
|
|
|
|
|
|
|
|
!window.lokiFeatureFlags.useOnionRequests
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
// pubkeys don't matter
|
|
|
|
|
|
|
|
return '';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Hard coded
|
|
|
|
// Hard coded
|
|
|
|
let pubKeyAB;
|
|
|
|
let pubKeyAB;
|
|
|
|
if (urlPubkeyMap) {
|
|
|
|
if (urlPubkeyMap) {
|
|
|
|