mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 18:35:40 +03:00
Change autoUisi label + rename matching_issue
This commit is contained in:
parent
de08afdfad
commit
258d731102
2 changed files with 5 additions and 9 deletions
|
@ -185,7 +185,7 @@ class AutoRageShaker @Inject constructor(
|
|||
"device_id" to target.senderDeviceId,
|
||||
"user_id" to target.senderUserId,
|
||||
"sender_key" to target.senderKey,
|
||||
"matching_issue" to reportUrl
|
||||
"recipient_rageshake" to reportUrl
|
||||
).toContent()
|
||||
)
|
||||
} catch (failure: Throwable) {
|
||||
|
@ -212,7 +212,7 @@ class AutoRageShaker @Inject constructor(
|
|||
val deviceId = event.content?.get("device_id")
|
||||
val userId = event.content?.get("user_id")
|
||||
val senderKey = event.content?.get("sender_key")
|
||||
val matchingIssue = event.content?.get("matching_issue")?.toString() ?: ""
|
||||
val matchingIssue = event.content?.get("recipient_rageshake")?.toString() ?: ""
|
||||
|
||||
bugReporter.sendBugReport(
|
||||
context = context,
|
||||
|
@ -233,7 +233,7 @@ class AutoRageShaker @Inject constructor(
|
|||
append("\nuserId: $userId")
|
||||
append("\nsessionId: $sessionId")
|
||||
},
|
||||
"matching_issue" to matchingIssue
|
||||
"recipient_rageshake" to matchingIssue
|
||||
),
|
||||
listener = null
|
||||
)
|
||||
|
|
|
@ -340,13 +340,9 @@ class BugReporter @Inject constructor(
|
|||
}
|
||||
ReportType.SUGGESTION -> builder.addFormDataPart("label", "[Suggestion]")
|
||||
ReportType.SPACE_BETA_FEEDBACK -> builder.addFormDataPart("label", "spaces-feedback")
|
||||
ReportType.AUTO_UISI -> {
|
||||
builder.addFormDataPart("label", "auto-uisis-receiver")
|
||||
builder.addFormDataPart("label", "auto-uisis")
|
||||
}
|
||||
ReportType.AUTO_UISI,
|
||||
ReportType.AUTO_UISI_SENDER -> {
|
||||
builder.addFormDataPart("label", "auto-uisis-sender")
|
||||
builder.addFormDataPart("label", "auto-uisis")
|
||||
builder.addFormDataPart("label", "Z-UISI")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue