TF-1915 Add SendingState to SendingEmailHiveCache
(cherry picked from commit b0d4257396eb78517d3b7bdb3f5bf93cb092ff50)
This commit is contained in:
@@ -20,7 +20,8 @@ extension SendingEmailExtension on SendingEmail {
|
||||
emailIdAnsweredOrForwarded?.asString,
|
||||
identityId?.asString,
|
||||
mailboxNameRequest?.name,
|
||||
creationIdRequest?.value
|
||||
creationIdRequest?.value,
|
||||
sendingState.name,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -47,6 +48,7 @@ extension SendingEmailExtension on SendingEmail {
|
||||
identityId: identityId,
|
||||
mailboxNameRequest: mailboxNameRequest,
|
||||
creationIdRequest: creationIdRequest,
|
||||
sendingState: sendingState,
|
||||
selectMode: selectMode == SelectMode.INACTIVE ? SelectMode.ACTIVE : SelectMode.INACTIVE
|
||||
);
|
||||
}
|
||||
@@ -63,6 +65,7 @@ extension SendingEmailExtension on SendingEmail {
|
||||
identityId: identityId,
|
||||
mailboxNameRequest: mailboxNameRequest,
|
||||
creationIdRequest: creationIdRequest,
|
||||
sendingState: sendingState,
|
||||
selectMode: SelectMode.INACTIVE
|
||||
);
|
||||
}
|
||||
|
||||
@@ -38,6 +38,9 @@ class SendingEmailHiveCache extends HiveObject with EquatableMixin {
|
||||
@HiveField(9)
|
||||
final String? creationIdRequest;
|
||||
|
||||
@HiveField(10)
|
||||
final String sendingState;
|
||||
|
||||
SendingEmailHiveCache(
|
||||
this.sendingId,
|
||||
this.email,
|
||||
@@ -48,7 +51,8 @@ class SendingEmailHiveCache extends HiveObject with EquatableMixin {
|
||||
this.emailIdAnsweredOrForwarded,
|
||||
this.identityId,
|
||||
this.mailboxNameRequest,
|
||||
this.creationIdRequest
|
||||
this.creationIdRequest,
|
||||
this.sendingState,
|
||||
);
|
||||
|
||||
@override
|
||||
@@ -62,6 +66,7 @@ class SendingEmailHiveCache extends HiveObject with EquatableMixin {
|
||||
emailIdAnsweredOrForwarded,
|
||||
identityId,
|
||||
mailboxNameRequest,
|
||||
creationIdRequest
|
||||
creationIdRequest,
|
||||
sendingState,
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user