From 9d863a62a4f33ed20ba8cc49ac0619d9599735c3 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Fri, 28 May 2021 20:00:37 +0200 Subject: Clean up RecipeWebview.setBadge (#1461) Extracted from 240c3a72363e7388779c9ed3c6467ec63bb64d94 according to https://github.com/getferdi/ferdi/pull/1456#discussion_r641182688 and https://github.com/getferdi/ferdi/pull/1456#discussion_r641183662 --- src/stores/ServicesStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stores/ServicesStore.js') diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index dc2cb0dbd..11915bc44 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js @@ -583,7 +583,7 @@ export default class ServicesStore extends Store { this._shareSettingsWithServiceProcess(); } else if (channel === 'alive') { service.lastPollAnswer = Date.now(); - } else if (channel === 'messages') { + } else if (channel === 'message-counts') { debug(`Received unread message info from '${serviceId}'`, args[0]); this.actions.service.setUnreadMessageCount({ -- cgit v1.2.3-70-g09d2