Use our topic for any app register

This commit is contained in:
althafvly 2024-07-03 13:43:01 +05:30
parent 6e484df145
commit d28cb07954

View file

@ -68,7 +68,7 @@ class BroadcastReceiver : android.content.BroadcastReceiver() {
// Add subscription // Add subscription
val baseUrl = repository.getDefaultBaseUrl() ?: context.getString(R.string.app_base_url) 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 endpoint = topicUrlUp(baseUrl, topic)
val subscription = Subscription( val subscription = Subscription(
id = randomSubscriptionId(), id = randomSubscriptionId(),