Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore(notif): clear stale notifs with missing threadID (#2258)

Sean Aye03b767d7b72c
diff --git a/rust/cloud-storage/notification_service/src/api/user_notification.rs b/rust/cloud-storage/notification_service/src/api/user_notification.rs
index a136e802ac..7f2d4a4a23 100644
--- a/rust/cloud-storage/notification_service/src/api/user_notification.rs
+++ b/rust/cloud-storage/notification_service/src/api/user_notification.rs
@@ -236,7 +236,8 @@ where
(err_str.contains("channel_message_document")
|| err_str.contains("missing field `toEmail`")
- || err_str.contains("missing field `sender`"))
+ || err_str.contains("missing field `sender`")
+ || err_str.contains("missing field `threadId`"))
.then_some(uuid)
}