Remove updating of message count on outbound message.

This commit is contained in:
Patrick Fic
2022-06-30 11:38:49 -07:00
parent 9bcc44c0cc
commit ece0946738

View File

@@ -23,9 +23,9 @@ export default async function FcmHandler({ client, payload }) {
updated_at(oldupdated0) { updated_at(oldupdated0) {
return new Date(); return new Date();
}, },
messages_aggregate(cached) { // messages_aggregate(cached) {
return { aggregate: { count: cached.aggregate.count + 1 } }; // return { aggregate: { count: cached.aggregate.count + 1 } };
}, // },
}, },
}); });
break; break;