From ece0946738cafba119975aac2ef977cd8b9ec196 Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Thu, 30 Jun 2022 11:38:49 -0700 Subject: [PATCH] Remove updating of message count on outbound message. --- client/src/utils/fcm-handler.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/utils/fcm-handler.js b/client/src/utils/fcm-handler.js index 116ae7a21..07193e8b6 100644 --- a/client/src/utils/fcm-handler.js +++ b/client/src/utils/fcm-handler.js @@ -23,9 +23,9 @@ export default async function FcmHandler({ client, payload }) { updated_at(oldupdated0) { return new Date(); }, - messages_aggregate(cached) { - return { aggregate: { count: cached.aggregate.count + 1 } }; - }, + // messages_aggregate(cached) { + // return { aggregate: { count: cached.aggregate.count + 1 } }; + // }, }, }); break;