You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4a2ae72
Browse filesBrowse the repository at this point in the historyBrowse files
Make Connector.onContactsChanged role fields nullable
Thread-level sharing changes (group DMs) have no roles, so `role`/`from`/`to`
are now `string | null`; only email connectors set To/Cc/Bcc roles. Clarify
the JSDoc that the callback fires for sharingModel "thread"/"message"
membership changes, not channel-level sharing.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Changed: `Connector.onContactsChanged` role fields are now nullable (`role`/`from`/`to` may be `null`) so the callback can carry thread-level sharing changes for connectors without roles (e.g. group DMs), where only email connectors set To/Cc/Bcc roles. JSDoc clarified that the callback fires for `sharingModel: "thread"`/`"message"` membership changes, not channel-level sharing.
0 commit comments