mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-07 23:58:40 +01:00
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…
x
Reference in New Issue
Block a user