mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 20:39:24 +00:00
Add device keys to rageshakes (#2838)
This commit is contained in:
@@ -127,6 +127,11 @@ class BugReportService: NSObject, BugReportServiceProtocol {
|
||||
params.append(.init(key: "device_id", type: .text(value: deviceID)))
|
||||
}
|
||||
|
||||
if let ed25519 = bugReport.ed25519, let curve25519 = bugReport.curve25519 {
|
||||
let compactKeys = "curve25519:\(curve25519), ed25519:\(ed25519)"
|
||||
params.append(.init(key: "device_keys", type: .text(value: compactKeys)))
|
||||
}
|
||||
|
||||
params.append(contentsOf: defaultParams)
|
||||
|
||||
for label in bugReport.githubLabels {
|
||||
|
||||
@@ -21,6 +21,8 @@ import UIKit
|
||||
struct BugReport: Equatable {
|
||||
let userID: String?
|
||||
let deviceID: String?
|
||||
let ed25519: String?
|
||||
let curve25519: String?
|
||||
let text: String
|
||||
let includeLogs: Bool
|
||||
let canContact: Bool
|
||||
|
||||
Reference in New Issue
Block a user