Hotfix conflict role Spam/Junk
This commit is contained in:
@@ -25,7 +25,7 @@ class MailboxConstants {
|
||||
PresentationMailbox.roleDrafts,
|
||||
PresentationMailbox.roleSent,
|
||||
PresentationMailbox.roleTrash,
|
||||
PresentationMailbox.roleSpam,
|
||||
PresentationMailbox.roleJunk,
|
||||
PresentationMailbox.roleTemplates,
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
class NotFoundInboxMailboxException implements Exception {}
|
||||
|
||||
class NotFoundMailboxException implements Exception {}
|
||||
@@ -11,6 +11,4 @@ class SetMailboxMethodException implements Exception {
|
||||
|
||||
class NotFoundMailboxCreatedException implements Exception {}
|
||||
|
||||
class NotFoundMailboxUpdatedRoleException implements Exception {}
|
||||
|
||||
class NotFoundMailboxException implements Exception {}
|
||||
class NotFoundMailboxUpdatedRoleException implements Exception {}
|
||||
@@ -15,7 +15,7 @@ extension RoleExtension on Role {
|
||||
return 'Drafts';
|
||||
} else if (this == PresentationMailbox.roleTrash) {
|
||||
return 'Trash';
|
||||
} else if (this == PresentationMailbox.roleSpam) {
|
||||
} else if (this == PresentationMailbox.roleSpam || this == PresentationMailbox.roleJunk) {
|
||||
return 'Spam';
|
||||
} else if (this == PresentationMailbox.roleTemplates) {
|
||||
return 'Templates';
|
||||
|
||||
Reference in New Issue
Block a user