srctree

Robin Linden parent b94b2449 3cc6241a
Fix calls using the wrong notification channel

inlinesplit
atox/src/main/kotlin/ui/NotificationHelper.kt added: 2, removed: 2, total 0
@@ -178,7 +178,7 @@ class NotificationHelper @Inject constructor(
notifier.cancel(contact.publicKey.hashCode() + CALL.hashCode())
 
fun showCallNotification(contact: Contact) {
val notificationBuilder = NotificationCompat.Builder(context, FRIEND_REQUEST)
val notificationBuilder = NotificationCompat.Builder(context, CALL)
.setCategory(NotificationCompat.CATEGORY_CALL)
.setSmallIcon(android.R.drawable.ic_menu_call)
.setContentTitle(context.getString(R.string.ongoing_call))