fmbiete / Z-Push-contrib

Z-Push fork with changes that I will try to contrib
GNU Affero General Public License v3.0
135 stars 62 forks source link

BackendIMAP ChangesSink mechanism ignores folder changes #182

Closed ghost closed 9 years ago

ghost commented 9 years ago

With IMAP as a back end make a folder namespace change from a native IMAP client (e.g. rename a folder, move a collection of folders into a directory, etc.)

Now go back to the phone after some period of time and select the folder view; you will see that the mobile's Exchange interface doesn't know that the folder change took place as the old names will still be present, but of course if you try to select them nothing comes up as they're not there anymore.

fmbiete commented 9 years ago

Indeed, you won't get folder changes until next foldersync. We will need to check them in the changesink.

fmbiete commented 9 years ago

Hi @tickerguy

The referenced commit should do the trick. Test it if you can and let me know if you find any problems.

ghost commented 9 years ago

I will not be able to look at this for a couple of days but will as soon as I can reasonably get to it and report back here. Thanks!

ghost commented 9 years ago

It appears that there are several improvements in this regard and that particular problem is solved.

I've got a new potential issue here, however... will post a new comment.