Implemented cache reset for Gmail history id expiration. (#581)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Wino.Messaging.Server;
|
||||
using Wino.Messaging.UI;
|
||||
|
||||
namespace Wino.Messaging;
|
||||
@@ -23,4 +24,6 @@ namespace Wino.Messaging;
|
||||
[JsonSerializable(typeof(AccountSynchronizationProgressUpdatedMessage))]
|
||||
[JsonSerializable(typeof(AccountFolderConfigurationUpdated))]
|
||||
[JsonSerializable(typeof(CopyAuthURLRequested))]
|
||||
[JsonSerializable(typeof(NewMailSynchronizationRequested))]
|
||||
[JsonSerializable(typeof(AccountCacheResetMessage))]
|
||||
public partial class CommunicationMessagesContext : JsonSerializerContext;
|
||||
|
||||
7
Wino.Messages/UI/AccountCacheResetMessage.cs
Normal file
7
Wino.Messages/UI/AccountCacheResetMessage.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
using System;
|
||||
using Wino.Core.Domain.Enums;
|
||||
|
||||
namespace Wino.Messaging.UI;
|
||||
|
||||
// Raised when the account's mail cache is reset.
|
||||
public record AccountCacheResetMessage(Guid AccountId, AccountCacheResetReason Reason) : UIMessageBase<AccountCacheResetMessage>;
|
||||
Reference in New Issue
Block a user