[geary/geary-0.12] Fix assertion failure if there are messages in the outbox on startup. Bug 727679.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/geary-0.12] Fix assertion failure if there are messages in the outbox on startup. Bug 727679.
- Date: Thu, 16 Nov 2017 05:25:16 +0000 (UTC)
commit 8961bf339fe8972f4dcc781d8ad150a1bc56dedf
Author: Alex Henrie <alexhenrie24 gmail com>
Date: Wed Jul 12 23:06:49 2017 -0600
Fix assertion failure if there are messages in the outbox on startup. Bug 727679.
* src/engine/imap/api/imap-account.vala
(Geary.Imap.Account.create_folder_async): Ensure that
this.hierarchy_delimiter has been initialized before using it.
src/engine/imap/api/imap-account.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/engine/imap/api/imap-account.vala b/src/engine/imap/api/imap-account.vala
index 6f44c23..14c1b0e 100644
--- a/src/engine/imap/api/imap-account.vala
+++ b/src/engine/imap/api/imap-account.vala
@@ -257,7 +257,8 @@ private class Geary.Imap.Account : BaseObject {
public async void create_folder_async(FolderPath path, Cancellable? cancellable) throws Error {
check_open();
-
+ yield claim_session_async(cancellable);
+
StatusResponse response = yield send_command_async(new CreateCommand(
new MailboxSpecifier.from_folder_path(path, this.hierarchy_delimiter)), null, null, cancellable);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]