Merge pull request #1393 from Bilb/no-v3-for-notify-pn

pull/1394/head
Audric Ackermann 4 years ago committed by GitHub
commit 8606d1b989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -75,8 +75,10 @@ jobs:
sudo apt-get install -y hunspell-en-us
sudo locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales
echo "::stop-commands::`echo -n ${{ github.token }} | sha256sum | head -c 64`"
echo ::set-env name=DISPLAY:::9.0
echo ::set-env name=LANG::en_US.UTF-8
echo "::`echo -n ${{ github.token }} | sha256sum | head -c 64`::"
- name: Test
uses: GabrielBB/xvfb-action@v1.0

@ -142,7 +142,8 @@ async function buildOnionCtxs(
if (relayingToFinalDestination && fileServerOptions) {
let target = useV2 ? '/loki/v2/lsrpc' : '/loki/v1/lsrpc';
if (window.lokiFeatureFlags.useFileOnionRequestsV2) {
const isCallToPn = fileServerOptions?.host === 'live.apns.getsession.org';
if (!isCallToPn && window.lokiFeatureFlags.useFileOnionRequestsV2) {
target = '/loki/v3/lsrpc';
}

Loading…
Cancel
Save