Add a few more labels when sending a rageshake. (#4284)

This commit is contained in:
Doug
2025-07-03 12:09:27 +01:00
committed by GitHub
parent 2f34502015
commit ec7f578f56
3 changed files with 23 additions and 17 deletions
@@ -97,17 +97,16 @@ class BugReportScreenViewModel: BugReportScreenViewModelType, BugReportScreenVie
// Continue anyway without the screenshot.
}
}
let ed25519 = await clientProxy?.ed25519Base64()
let curve25519 = await clientProxy?.curve25519Base64()
let bugReport = BugReport(userID: clientProxy?.userID,
deviceID: clientProxy?.deviceID,
ed25519: ed25519,
curve25519: curve25519,
text: context.reportText,
logFiles: context.sendingLogsEnabled ? logFiles : nil,
canContact: context.canContact,
githubLabels: [],
files: files)
let bugReport = await BugReport(userID: clientProxy?.userID,
deviceID: clientProxy?.deviceID,
ed25519: clientProxy?.ed25519Base64(),
curve25519: clientProxy?.curve25519Base64(),
text: context.reportText,
logFiles: context.sendingLogsEnabled ? logFiles : nil,
canContact: context.canContact,
githubLabels: [],
files: files)
switch await bugReportService.submitBugReport(bugReport,
progressListener: progressSubject) {