Add label for rageshake to know the build type, in particular to know if it's a nightly build.

This commit is contained in:
Benoit Marty 2022-07-05 17:11:52 +02:00 committed by Benoit Marty
parent a030769aea
commit 5793a38774

View File

@ -346,6 +346,9 @@ class BugReporter @Inject constructor(
// Special for Element
builder.addFormDataPart("label", "[Element]")
// Possible values for BuildConfig.BUILD_TYPE: "debug", "nightly", "release".
builder.addFormDataPart("label", BuildConfig.BUILD_TYPE)
when (reportType) {
ReportType.BUG_REPORT -> {
/* nop */