mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +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,
|
"device_id" to target.senderDeviceId,
|
||||||
"user_id" to target.senderUserId,
|
"user_id" to target.senderUserId,
|
||||||
"sender_key" to target.senderKey,
|
"sender_key" to target.senderKey,
|
||||||
"matching_issue" to reportUrl
|
"recipient_rageshake" to reportUrl
|
||||||
).toContent()
|
).toContent()
|
||||||
)
|
)
|
||||||
} catch (failure: Throwable) {
|
} catch (failure: Throwable) {
|
||||||
|
@ -212,7 +212,7 @@ class AutoRageShaker @Inject constructor(
|
||||||
val deviceId = event.content?.get("device_id")
|
val deviceId = event.content?.get("device_id")
|
||||||
val userId = event.content?.get("user_id")
|
val userId = event.content?.get("user_id")
|
||||||
val senderKey = event.content?.get("sender_key")
|
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(
|
bugReporter.sendBugReport(
|
||||||
context = context,
|
context = context,
|
||||||
|
@ -233,7 +233,7 @@ class AutoRageShaker @Inject constructor(
|
||||||
append("\nuserId: $userId")
|
append("\nuserId: $userId")
|
||||||
append("\nsessionId: $sessionId")
|
append("\nsessionId: $sessionId")
|
||||||
},
|
},
|
||||||
"matching_issue" to matchingIssue
|
"recipient_rageshake" to matchingIssue
|
||||||
),
|
),
|
||||||
listener = null
|
listener = null
|
||||||
)
|
)
|
||||||
|
|
|
@ -340,13 +340,9 @@ class BugReporter @Inject constructor(
|
||||||
}
|
}
|
||||||
ReportType.SUGGESTION -> builder.addFormDataPart("label", "[Suggestion]")
|
ReportType.SUGGESTION -> builder.addFormDataPart("label", "[Suggestion]")
|
||||||
ReportType.SPACE_BETA_FEEDBACK -> builder.addFormDataPart("label", "spaces-feedback")
|
ReportType.SPACE_BETA_FEEDBACK -> builder.addFormDataPart("label", "spaces-feedback")
|
||||||
ReportType.AUTO_UISI -> {
|
ReportType.AUTO_UISI,
|
||||||
builder.addFormDataPart("label", "auto-uisis-receiver")
|
|
||||||
builder.addFormDataPart("label", "auto-uisis")
|
|
||||||
}
|
|
||||||
ReportType.AUTO_UISI_SENDER -> {
|
ReportType.AUTO_UISI_SENDER -> {
|
||||||
builder.addFormDataPart("label", "auto-uisis-sender")
|
builder.addFormDataPart("label", "Z-UISI")
|
||||||
builder.addFormDataPart("label", "auto-uisis")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue