Gmail - Archive/Unarchive (#582)

* Disable timer back sync for debug builds.

* Archive / unarchive feature for Gmail.

* Archive folder name override for Gmail.

* Possible crash fix when the next item is being selected after a mail is removed.

* Restore proper account selection after pin/unpin of folder.

* Making sure that incorrect arcive folder id is not saved in Gmailsynchronizer due to migration.
This commit is contained in:
Burak Kaan Köse
2025-02-23 17:05:46 +01:00
committed by GitHub
parent 9d0a2f6535
commit 8e1c60d5f0
18 changed files with 280 additions and 89 deletions

View File

@@ -86,6 +86,7 @@ public class ServerContext :
private async void SynchronizationTimerTriggered(object sender, System.Timers.ElapsedEventArgs e)
{
#if !DEBUG
// Send sync request for all accounts.
var accounts = await _accountService.GetAccountsAsync();
@@ -102,6 +103,7 @@ public class ServerContext :
await ExecuteServerMessageSafeAsync(null, request);
}
#endif
}
#region Message Handlers