diff options
Diffstat (limited to 'worker/jmap/push.go')
-rw-r--r-- | worker/jmap/push.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/worker/jmap/push.go b/worker/jmap/push.go index 320fee4f..34a90ca4 100644 --- a/worker/jmap/push.go +++ b/worker/jmap/push.go @@ -127,8 +127,8 @@ func (w *JMAPWorker) refresh(newState jmap.TypeState) error { } callID = req.Invoke(&email.QueryChanges{ Account: w.accountId, - Filter: contents.Filter, - Sort: contents.Sort, + Filter: w.translateSearch(id, contents.Filter), + Sort: translateSort(contents.Sort), SinceQueryState: contents.QueryState, }) queryChangesCalls[callID] = id |