diff --git a/amethyst/src/fdroid/java/com/vitorpamplona/amethyst/service/notifications/PushDistributorHandler.kt b/amethyst/src/fdroid/java/com/vitorpamplona/amethyst/service/notifications/PushDistributorHandler.kt index c928185c2..3f334b6ab 100644 --- a/amethyst/src/fdroid/java/com/vitorpamplona/amethyst/service/notifications/PushDistributorHandler.kt +++ b/amethyst/src/fdroid/java/com/vitorpamplona/amethyst/service/notifications/PushDistributorHandler.kt @@ -42,9 +42,8 @@ object PushDistributorHandler : PushDistributorActions { private val unifiedPush: UnifiedPush = UnifiedPush private var endpointInternal = "" - val endpoint = endpointInternal - fun getSavedEndpoint() = endpoint + fun getSavedEndpoint() = endpointInternal fun setEndpoint(newEndpoint: String) { endpointInternal = newEndpoint