Rageshake: add label depending on unifiedpush distributor
Change-Id: I1fe04cd1dc022658a1e22cd1df579489aaac5ccb
This commit is contained in:
parent
9211d3c4d9
commit
2c8b766aa1
|
@ -332,6 +332,13 @@ class BugReporter @Inject constructor(
|
|||
if (canContact) {
|
||||
builder.addFormDataPart("label", "can contact")
|
||||
}
|
||||
if (UPHelper.isEmbeddedDistributor(context)) {
|
||||
builder.addFormDataPart("label", "unifiedpush:fcm")
|
||||
} else if (UPHelper.hasEndpoint(context)) {
|
||||
builder.addFormDataPart("label", "unifiedpush:custom")
|
||||
} else {
|
||||
builder.addFormDataPart("label", "unifiedpush:none")
|
||||
}
|
||||
|
||||
// Special for Element
|
||||
//builder.addFormDataPart("label", "[SchildiChat]")
|
||||
|
|
Loading…
Reference in New Issue