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,
|
emailIdAnsweredOrForwarded?.asString,
|
||||||
identityId?.asString,
|
identityId?.asString,
|
||||||
mailboxNameRequest?.name,
|
mailboxNameRequest?.name,
|
||||||
creationIdRequest?.value
|
creationIdRequest?.value,
|
||||||
|
sendingState.name,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -47,6 +48,7 @@ extension SendingEmailExtension on SendingEmail {
|
|||||||
identityId: identityId,
|
identityId: identityId,
|
||||||
mailboxNameRequest: mailboxNameRequest,
|
mailboxNameRequest: mailboxNameRequest,
|
||||||
creationIdRequest: creationIdRequest,
|
creationIdRequest: creationIdRequest,
|
||||||
|
sendingState: sendingState,
|
||||||
selectMode: selectMode == SelectMode.INACTIVE ? SelectMode.ACTIVE : SelectMode.INACTIVE
|
selectMode: selectMode == SelectMode.INACTIVE ? SelectMode.ACTIVE : SelectMode.INACTIVE
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -63,6 +65,7 @@ extension SendingEmailExtension on SendingEmail {
|
|||||||
identityId: identityId,
|
identityId: identityId,
|
||||||
mailboxNameRequest: mailboxNameRequest,
|
mailboxNameRequest: mailboxNameRequest,
|
||||||
creationIdRequest: creationIdRequest,
|
creationIdRequest: creationIdRequest,
|
||||||
|
sendingState: sendingState,
|
||||||
selectMode: SelectMode.INACTIVE
|
selectMode: SelectMode.INACTIVE
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,6 +38,9 @@ class SendingEmailHiveCache extends HiveObject with EquatableMixin {
|
|||||||
@HiveField(9)
|
@HiveField(9)
|
||||||
final String? creationIdRequest;
|
final String? creationIdRequest;
|
||||||
|
|
||||||
|
@HiveField(10)
|
||||||
|
final String sendingState;
|
||||||
|
|
||||||
SendingEmailHiveCache(
|
SendingEmailHiveCache(
|
||||||
this.sendingId,
|
this.sendingId,
|
||||||
this.email,
|
this.email,
|
||||||
@@ -48,7 +51,8 @@ class SendingEmailHiveCache extends HiveObject with EquatableMixin {
|
|||||||
this.emailIdAnsweredOrForwarded,
|
this.emailIdAnsweredOrForwarded,
|
||||||
this.identityId,
|
this.identityId,
|
||||||
this.mailboxNameRequest,
|
this.mailboxNameRequest,
|
||||||
this.creationIdRequest
|
this.creationIdRequest,
|
||||||
|
this.sendingState,
|
||||||
);
|
);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
@@ -62,6 +66,7 @@ class SendingEmailHiveCache extends HiveObject with EquatableMixin {
|
|||||||
emailIdAnsweredOrForwarded,
|
emailIdAnsweredOrForwarded,
|
||||||
identityId,
|
identityId,
|
||||||
mailboxNameRequest,
|
mailboxNameRequest,
|
||||||
creationIdRequest
|
creationIdRequest,
|
||||||
|
sendingState,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user