From ce2068d36bb5d8ad0bb8f886bc19cb4aab75c4e8 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Sat, 8 Jan 2022 20:00:26 +0200 Subject: [PATCH] melib/jmap: fix background watch using JSON paths incorrectly --- melib/src/backends/jmap/connection.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/melib/src/backends/jmap/connection.rs b/melib/src/backends/jmap/connection.rs index 8f5e506f..9045203b 100644 --- a/melib/src/backends/jmap/connection.rs +++ b/melib/src/backends/jmap/connection.rs @@ -135,7 +135,7 @@ impl JmapConnection { Get::new() .ids(Some(JmapArgument::reference( prev_seq, - ResultField::::new("created"), + ResultField::::new("/created"), ))) .account_id(self.mail_account_id().clone()), ); @@ -156,7 +156,7 @@ impl JmapConnection { Get::new() .ids(Some(JmapArgument::reference( seq_no, - ResultField::::new("removed"), + ResultField::::new("/removed"), ))) .account_id(self.mail_account_id().clone()) .properties(Some(vec![