Use consistent User-Agent when uploading debug logs

This commit is contained in:
Evan Hahn 2021-01-06 11:23:15 -06:00 committed by Scott Nonnenberg
parent d0146a1613
commit 8ccf402497
9 changed files with 331 additions and 138 deletions

View file

@ -1,4 +1,4 @@
// Copyright 2015-2020 Signal Messenger, LLC
// Copyright 2015-2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
/* global i18n: false */
@ -73,7 +73,10 @@
this.$('.result').addClass('loading');
try {
const publishedLogURL = await window.log.publish(text);
const publishedLogURL = await window.log.publish(
text,
window.getVersion()
);
const view = new Whisper.DebugLogLinkView({
url: publishedLogURL,
el: this.$('.result'),