mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-21 12:39:58 +01:00
Disable event bus in firebase service for now
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
69a4a8a7c2
commit
9017c91d20
@ -74,12 +74,12 @@ class MagicFirebaseMessagingService : FirebaseMessagingService(), KoinComponent
|
||||
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
eventBus.register(this)
|
||||
//eventBus.register(this)
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
eventBus.unregister(this)
|
||||
//eventBus.unregister(this)
|
||||
isServiceInForeground = false
|
||||
}
|
||||
|
||||
@ -95,6 +95,7 @@ class MagicFirebaseMessagingService : FirebaseMessagingService(), KoinComponent
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressLint("LongLogTag")
|
||||
private fun decryptMessage(subject: String, signature: String) {
|
||||
val signatureVerification: SignatureVerification
|
||||
val decryptedPushMessage: DecryptedPushMessage
|
||||
|
Loading…
Reference in New Issue
Block a user