From ddda23389744679ec55a972fd8bb037d4f8552ae Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Mon, 30 Jan 2023 23:41:17 +0530 Subject: [PATCH] FIX: Request tab shows notification in real time --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index e0ebe4f..1436a31 100644 --- a/index.html +++ b/index.html @@ -2837,7 +2837,8 @@ document.title = `New mail(s)` addNotificationBadge('#mail_page_button', Object.keys(data.mails).length) } - console.log(data.requests, data.responses) + // console.log(data.requests, data.responses) + messenger.list_request_received({ completed: false }).then(requests => addNotificationBadge('#notification_panel_button', Object.keys(requests).length, { replace: true })) updateMessageUI(data.messages) renderMailList(data.mails, true) }