Files
meli/0001-Revert-accounts-cancel-any-previous-mailbox-fetches.patch

37 lines
1.3 KiB
Diff
Raw Permalink Normal View History

- Remove 0001-Revert-accounts-cancel-any-previous-mailbox-fetches.patch - Update to version 0.8.11: * contacts: add notmuch address book support in PR #551 "contacts: add notmuch address book support" * melib/imap: add ConnectionMutex struct * melib/imap: add conn pool to ConnectionMutex * melib/error: hardcode native-tls error check * widgets: don't add padding by skipping cols in FormWidget * melib/error: add TLSConnectionFailed kind variant in PR #578 "Misc fixes" * notifications: add DisplayMessageBox::arm() * conf: add notifications.ui_notifications setting * notifications: add DisplayMessageBox::deactivate() * notifications: add DisplayMessageBox::show_{prev,next}() * notifications: make update_xbiff() a method in PR #581 "Add notifications.ui_notifications setting to hide UI notifications or show them as system notifications" * melib/imap: add FIXME comment about imap-codec * melib/jmap: add serde(default) to Identity::id * melib/jmap: s/Id::new_uuid_v4()/Id::new_random() * melib/jmap: add serde(default) to Identity::may_delete * melib/jmap: Add State::new_random() method * melib/notmuch: add FFI config types bindings * melib/notmuch: add notmuch_database_reopen() * melib/notmuch: add Message::msg_id_str() method * melib/notmuch: add Message::find_message_by_path() * melib/notmuch: impl From<NotmuchError> for Error * melib/imap: add use_connection_pool conf option * melib/jmap: add session object to backend metadata * melib: convert MailBackend::watch into a stream * melib/maildir: switch backend.rs and mod.rs * melib/maildir: enhance filesystem/IO error metadata * melib/maildir: add ErrorKind::NotImplemented to unimplemented errors * melib/maildir: s/MaildirPathTrait/MaildirFilePathExt/ OBS-URL: https://build.opensuse.org/package/show/server:mail/meli?expand=0&rev=15
2025-08-11 07:34:00 +00:00
From 525bae71e5ad671934980bed9c4514302be31d06 Mon Sep 17 00:00:00 2001
From: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
Date: Sat, 14 Dec 2024 21:25:10 +0800
Subject: [PATCH] Revert "accounts: cancel any previous mailbox fetches"
This reverts commit 53b0d035e46d0178adb3c6620a5d5af02cc892de.
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
---
meli/src/accounts.rs | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/meli/src/accounts.rs b/meli/src/accounts.rs
index 7557da4c..0560b5ea 100644
--- a/meli/src/accounts.rs
+++ b/meli/src/accounts.rs
@@ -912,16 +912,6 @@ impl Account {
}
MailboxStatus::None => {
if force && !self.active_jobs.values().any(|j| j.is_fetch(mailbox_hash)) {
- for ev in self.active_jobs.values().filter_map(|j| {
- if j.is_any_fetch() && !j.is_fetch(mailbox_hash) {
- j.cancel()
- } else {
- None
- }
- }) {
- self.main_loop_handler
- .send(ThreadEvent::UIEvent(UIEvent::StatusEvent(ev)));
- }
self.mailbox_entries
.entry(mailbox_hash)
.and_modify(|entry| {
--
2.47.1