Explicitely specify unifiedpush pusher app id
We use the upstream pusher_app_id for their sygnal, but we do not need to do this for unifiedpush, so we can explicitely define the SchildiChat package here. Change-Id: Ib56fcde242a584514978ccbdd7e8b337fa7c6529
This commit is contained in:
parent
8215c786b2
commit
3cdf4f9d24
|
@ -68,11 +68,10 @@ class PushersManager @Inject constructor(
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getPusherAppId(context: Context) : String {
|
private fun getPusherAppId(context: Context) : String {
|
||||||
val appId = stringProvider.getString(R.string.pusher_app_id)
|
|
||||||
return if (UPHelper.isEmbeddedDistributor(context)) {
|
return if (UPHelper.isEmbeddedDistributor(context)) {
|
||||||
appId
|
stringProvider.getString(R.string.pusher_app_id)
|
||||||
} else {
|
} else {
|
||||||
"$appId.up"
|
stringProvider.getString(R.string.up_pusher_app_id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
|
||||||
|
<string name="up_pusher_app_id" translatable="false">de.spiritcroc.riotx.up</string>
|
||||||
|
|
||||||
|
</resources>
|
Loading…
Reference in New Issue