diff --git a/plugins/chunter-resources/src/utils.ts b/plugins/chunter-resources/src/utils.ts index 6bb5907ffe..a5e861ad4a 100644 --- a/plugins/chunter-resources/src/utils.ts +++ b/plugins/chunter-resources/src/utils.ts @@ -390,6 +390,7 @@ export async function readChannelMessages ( const lastTimestamp = messages[messages.length - 1].createdOn ?? 0 if ((context.lastViewedTimestamp ?? 0) < lastTimestamp) { + context.lastViewedTimestamp = lastTimestamp void client.update(context, { lastViewedTimestamp: lastTimestamp }) } }