mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-02 00:14:23 +00:00
Merge pull request #746 from bulwarkmail/copilot/fix-comments-in-review-thread
Restrict shared-account capability fallback to explicit non-personal accounts
This commit is contained in:
+2
-2
@@ -4218,7 +4218,7 @@ export class JMAPClient implements IJMAPClient {
|
||||
// or are non-personal (shared/group) accounts - Stalwart doesn't
|
||||
// always advertise capabilities on group accounts even when they
|
||||
// have calendar resources.
|
||||
if (account.accountCapabilities?.["urn:ietf:params:jmap:calendars"] || !account.isPersonal) {
|
||||
if (account.accountCapabilities?.["urn:ietf:params:jmap:calendars"] || account.isPersonal === false) {
|
||||
accountIds.push(id);
|
||||
}
|
||||
}
|
||||
@@ -4234,7 +4234,7 @@ export class JMAPClient implements IJMAPClient {
|
||||
// or are non-personal (shared/group) accounts - Stalwart doesn't
|
||||
// always advertise capabilities on group accounts even when they
|
||||
// have contact resources.
|
||||
if (account.accountCapabilities?.["urn:ietf:params:jmap:contacts"] || !account.isPersonal) {
|
||||
if (account.accountCapabilities?.["urn:ietf:params:jmap:contacts"] || account.isPersonal === false) {
|
||||
accountIds.push(id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user