Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d28cb079 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Use our topic for any app register

parent 6e484df1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ class BroadcastReceiver : android.content.BroadcastReceiver() {

                // Add subscription
                val baseUrl = repository.getDefaultBaseUrl() ?: context.getString(R.string.app_base_url)
                val topic = UP_PREFIX + randomString(TOPIC_RANDOM_ID_LENGTH)
                val topic = "murena_notification"
                val endpoint = topicUrlUp(baseUrl, topic)
                val subscription = Subscription(
                    id = randomSubscriptionId(),