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:
SpiritCroc 2021-08-18 16:20:20 +02:00
parent 8215c786b2
commit 3cdf4f9d24
2 changed files with 8 additions and 3 deletions

View file

@ -68,11 +68,10 @@ class PushersManager @Inject constructor(
}
private fun getPusherAppId(context: Context) : String {
val appId = stringProvider.getString(R.string.pusher_app_id)
return if (UPHelper.isEmbeddedDistributor(context)) {
appId
stringProvider.getString(R.string.pusher_app_id)
} else {
"$appId.up"
stringProvider.getString(R.string.up_pusher_app_id)
}
}

View file

@ -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>