Backport SVN commit 882933 by tilladam from enterprise4 branch:

Make sure to reload the UID map, otherwise it's stale on the next sync
and might have offsets in it that will lead to mail loss, on the next
mail sync. Kolab/issue3196.

svn path=/branches/kdepim/enterprise/kdepim/; revision=882936
wilder-work
Volker Krause 18 years ago
parent bfcd29daba
commit ebcfeaecbe
  1. 7
      kmfoldercachedimap.h

@ -214,8 +214,11 @@ public:
void setSilentUpload( bool silent ) { mSilentUpload = silent; }
bool silentUpload() { return mSilentUpload; }
virtual int createIndexFromContents()
{ return KMFolderMaildir::createIndexFromContents(); }
virtual int createIndexFromContents() {
const int result = KMFolderMaildir::createIndexFromContents();
reloadUidMap();
return result;
}
int createIndexFromContentsRecursive();

Loading…
Cancel
Save