Update feedback reporting service configuration

This commit is contained in:
Stefan Ceriu
2023-01-12 14:39:24 +02:00
committed by Stefan Ceriu
parent e509165d52
commit 3153c0f0d9
2 changed files with 2 additions and 3 deletions
@@ -76,9 +76,8 @@ final class AppSettings: ObservableObject {
let bugReportServiceBaseURL = URL(staticString: "https://riot.im/bugreports")
let bugReportSentryURL = URL(staticString: "https://f39ac49e97714316965b777d9f3d6cd8@sentry.tools.element.io/44")
// Use the name allocated by the bug report server
let bugReportApplicationId = "riot-ios"
let bugReportApplicationId = "element-x-ios"
let bugReportUISIId = "element-auto-uisi"
let bugReportGHLabels = ["Element-X"]
// MARK: - Analytics
@@ -56,7 +56,7 @@ class BugReportViewModel: BugReportViewModelType, BugReportViewModelProtocol {
let result = try await bugReportService.submitBugReport(text: context.reportText,
includeLogs: context.sendingLogsEnabled,
includeCrashLog: true,
githubLabels: ServiceLocator.shared.settings.bugReportGHLabels,
githubLabels: [],
files: [])
MXLog.info("SubmitBugReport succeeded, result: \(result.reportUrl)")
callback?(.submitFinished)