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
@@ -20,7 +20,8 @@ extension MailboxCacheExtension on MailboxCache {
unreadThreads: unreadThreads != null ? UnreadThreads(UnsignedInt(unreadThreads!)) : null,
myRights: myRights?.toMailboxRights(),
isSubscribed: isSubscribed != null ? IsSubscribed(isSubscribed!) : null,
namespace: namespace != null ? Namespace(namespace!) : null
namespace: namespace != null ? Namespace(namespace!) : null,
rights: rights != null ? Map<String, List<String>?>.from(rights!) : null,
);
}
}
@@ -17,7 +17,8 @@ extension MailboxExtension on Mailbox {
unreadThreads: unreadThreads?.value.value.round(),
myRights: myRights?.toMailboxRightsCache(),
isSubscribed: isSubscribed?.value,
namespace: namespace?.value
namespace: namespace?.value,
rights: rights?.map((key, value) => MapEntry(key, value)),
);
}
}