Skip to content

Commit

Permalink
fix(mail): make sure QRESYNC is enabled in getChangesAction
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Jan 14, 2022
1 parent 2c6cd53 commit 1ab21b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UI/MailerUI/UIxMailListActions.m
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,9 @@ - (NSDictionary *) getUIDsInFolder: (SOGoMailFolder *) folder
response = nil;
folder = [self clientObject];
syncToken = [requestContent objectForKey: @"syncToken"];

// We first make sure QRESYNC is enabled
[[folder imap4Connection] enableExtensions: [NSArray arrayWithObject: @"QRESYNC"]];
newSyncToken = [folder davCollectionTag];

if ([syncToken length] && ![syncToken isEqual: newSyncToken])
Expand Down

0 comments on commit 1ab21b0

Please sign in to comment.