From 3cdf4f9d24924e4d101700812a00db3e5dc3f806 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Wed, 18 Aug 2021 16:20:20 +0200 Subject: [PATCH] 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 --- .../main/java/im/vector/app/core/pushers/PushersManager.kt | 5 ++--- vector/src/main/res/values/config_sc.xml | 6 ++++++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100755 vector/src/main/res/values/config_sc.xml diff --git a/vector/src/main/java/im/vector/app/core/pushers/PushersManager.kt b/vector/src/main/java/im/vector/app/core/pushers/PushersManager.kt index 5ebbfd5b81..21e43dddef 100644 --- a/vector/src/main/java/im/vector/app/core/pushers/PushersManager.kt +++ b/vector/src/main/java/im/vector/app/core/pushers/PushersManager.kt @@ -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) } } diff --git a/vector/src/main/res/values/config_sc.xml b/vector/src/main/res/values/config_sc.xml new file mode 100755 index 0000000000..89af6b984f --- /dev/null +++ b/vector/src/main/res/values/config_sc.xml @@ -0,0 +1,6 @@ + + + + de.spiritcroc.riotx.up + +