mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 20:06:51 +03:00
Lint
This commit is contained in:
parent
f65074b3c5
commit
65654e7e8a
1 changed files with 1 additions and 2 deletions
|
@ -250,7 +250,6 @@ class UnifiedPushHelper @Inject constructor(
|
|||
private fun isInternalDistributor(): Boolean {
|
||||
return UnifiedPush.getDistributor(context).isEmpty() ||
|
||||
UnifiedPush.getDistributor(context) == context.packageName
|
||||
|
||||
}
|
||||
|
||||
fun getPrivacyFriendlyUpEndpoint(): String? {
|
||||
|
@ -274,7 +273,7 @@ class UnifiedPushHelper @Inject constructor(
|
|||
}
|
||||
|
||||
fun getPushGateway(): String? {
|
||||
return if (isEmbeddedDistributor()) context.getString(R.string.pusher_http_url)
|
||||
return if (isEmbeddedDistributor()) stringProvider.getString(R.string.pusher_http_url)
|
||||
else unifiedPushStore.getPushGateway()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue