melib/jmap: fix background watch using JSON paths incorrectly

pull/144/head
Manos Pitsidianakis 2022-01-08 20:00:26 +02:00
parent 0d8bedd2d5
commit ce2068d36b
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ impl JmapConnection {
Get::new()
.ids(Some(JmapArgument::reference(
prev_seq,
ResultField::<EmailChanges, EmailObject>::new("created"),
ResultField::<EmailChanges, EmailObject>::new("/created"),
)))
.account_id(self.mail_account_id().clone()),
);
@ -156,7 +156,7 @@ impl JmapConnection {
Get::new()
.ids(Some(JmapArgument::reference(
seq_no,
ResultField::<EmailQueryChanges, EmailObject>::new("removed"),
ResultField::<EmailQueryChanges, EmailObject>::new("/removed"),
)))
.account_id(self.mail_account_id().clone())
.properties(Some(vec![