mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-01 04:09:21 +00:00
Merge pull request #3457 from nextcloud/bugfix/3456/endCallNotificationOnException
close Call notification when onError is triggered.
This commit is contained in:
commit
074fc301d6
@ -857,6 +857,10 @@ class NotificationWorker(context: Context, workerParams: WorkerParameters) : Wor
|
||||
|
||||
override fun onError(e: Throwable) {
|
||||
Log.e(TAG, "Error in getPeersForCall", e)
|
||||
if (isCallNotificationVisible) {
|
||||
showMissedCallNotification()
|
||||
}
|
||||
removeNotification(pushMessage.timestamp.toInt())
|
||||
}
|
||||
|
||||
override fun onComplete() {
|
||||
|
Loading…
Reference in New Issue
Block a user