From 187424f84a3efe29af30780089b64a74b8915177 Mon Sep 17 00:00:00 2001 From: sachaaaaa Date: Fri, 17 Aug 2018 11:24:56 +1000 Subject: [PATCH] Change HTTP header from X-Signal-Agent to X-Loki-Messenger-Agent. --- js/modules/web_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/modules/web_api.js b/js/modules/web_api.js index 00c0c8f7c..d27b726c6 100644 --- a/js/modules/web_api.js +++ b/js/modules/web_api.js @@ -173,7 +173,7 @@ function _promiseAjax(providedUrl, options) { const fetchOptions = { method: options.type, body: options.data || null, - headers: { 'X-Signal-Agent': 'OWD' }, + headers: { 'X-Loki-Messenger-Agent': 'OWD' }, agent, ca: options.certificateAuthority, timeout,