diff --git a/apps/mail/components/party.tsx b/apps/mail/components/party.tsx index 362183290f..bfa0866390 100644 --- a/apps/mail/components/party.tsx +++ b/apps/mail/components/party.tsx @@ -58,17 +58,11 @@ export const NotificationProvider = () => { exact: true, predicate: (query) => { const queryAge = Date.now() - (query.state.dataUpdatedAt || 0); - console.log({ queryAge, query: query.queryKey }); return queryAge > 60000; // 1 minute in milliseconds }, }); } else if (type === IncomingMessageType.Mail_List) { const { folder } = JSON.parse(message.data); - console.log({ - folder, - labelIds: labels, - q: searchValue.value, - }); queryClient.invalidateQueries({ queryKey: trpc.mail.listThreads.infiniteQueryKey({ folder, diff --git a/apps/server/src/routes/chat.ts b/apps/server/src/routes/chat.ts index dac89c423b..f8c1f65dc3 100644 --- a/apps/server/src/routes/chat.ts +++ b/apps/server/src/routes/chat.ts @@ -404,9 +404,9 @@ export class ZeroAgent extends AIChatAgent { if (_connection) this.driver = connectionToDriver(_connection); this.ctx.waitUntil(conn.end()); this.ctx.waitUntil(this.syncThreads('inbox')); - // this.ctx.waitUntil(this.syncThreads('sent')); - // this.ctx.waitUntil(this.syncThreads('spam')); - // this.ctx.waitUntil(this.syncThreads('archive')); + this.ctx.waitUntil(this.syncThreads('sent')); + this.ctx.waitUntil(this.syncThreads('spam')); + this.ctx.waitUntil(this.syncThreads('archive')); } }