TF-3189 new option to enable/disable subaddressing for a personal folder

This commit is contained in:
Florent Azavant
2024-10-21 16:29:26 +02:00
committed by Dat H. Pham
parent f8f248fc3c
commit 89d80fe142
36 changed files with 455 additions and 4 deletions
+2
View File
@@ -0,0 +1,2 @@
const String anyoneIdentifier = 'anyone';
const String postingRight = 'p';
+1
View File
@@ -12,4 +12,5 @@ class MailboxProperty {
static const String myRights = 'myRights';
static const String isSubscribed = 'isSubscribed';
static const String namespace = 'namespace';
static const String rights = 'rights';
}
@@ -48,6 +48,7 @@ class PresentationMailbox with EquatableMixin {
final MailboxState? state;
final Namespace? namespace;
final String? displayName;
final Map<String, List<String>?>? rights;
PresentationMailbox(
this.id,
@@ -67,6 +68,7 @@ class PresentationMailbox with EquatableMixin {
this.state = MailboxState.activated,
this.namespace,
this.displayName,
this.rights
}
);
@@ -88,6 +90,7 @@ class PresentationMailbox with EquatableMixin {
state,
namespace,
displayName,
rights
];
PresentationMailbox copyWith({