feat: Auto sync label from web socket
This commit is contained in:
+29
@@ -84,6 +84,35 @@ class StoreMailboxStateToRefreshAction extends PushNotificationStateChangeAction
|
||||
this.userName
|
||||
) : super(typeName, newState);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [typeName, newState, accountId, userName];
|
||||
}
|
||||
|
||||
class SynchronizeLabelOnForegroundAction
|
||||
extends PushNotificationStateChangeAction {
|
||||
final AccountId accountId;
|
||||
|
||||
SynchronizeLabelOnForegroundAction(
|
||||
TypeName typeName,
|
||||
jmap.State newState,
|
||||
this.accountId,
|
||||
) : super(typeName, newState);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [typeName, newState, accountId];
|
||||
}
|
||||
|
||||
class StoreLabelStateToRefreshAction extends PushNotificationStateChangeAction {
|
||||
final AccountId accountId;
|
||||
final UserName userName;
|
||||
|
||||
StoreLabelStateToRefreshAction(
|
||||
TypeName typeName,
|
||||
jmap.State newState,
|
||||
this.accountId,
|
||||
this.userName,
|
||||
) : super(typeName, newState);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [typeName, newState, accountId, userName];
|
||||
}
|
||||
Reference in New Issue
Block a user