mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01: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) {
|
override fun onError(e: Throwable) {
|
||||||
Log.e(TAG, "Error in getPeersForCall", e)
|
Log.e(TAG, "Error in getPeersForCall", e)
|
||||||
|
if (isCallNotificationVisible) {
|
||||||
|
showMissedCallNotification()
|
||||||
|
}
|
||||||
|
removeNotification(pushMessage.timestamp.toInt())
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onComplete() {
|
override fun onComplete() {
|
||||||
|
Loading…
Reference in New Issue
Block a user