Re-add ! that was lost in a 1.134 to fix invalidation of indeces and msgDict

crashes due to stuff operating on the disappeared inbox, presumably. I'm
not sure if this was a typo, since the .upper() part of the change seems
sensible, so I leave that part of the commit in. Carsten?

svn path=/trunk/kdepim/; revision=256547
wilder-work
Till Adam 23 years ago
parent bf37d77ae0
commit 43deb70a1c
  1. 2
      kmfolderimap.cpp

@ -523,7 +523,7 @@ void KMFolderImap::slotListResult( QStringList mSubfolderNames,
while (node)
{
// check if the folders still exist on the server
if (!node->isDir() && (node->name().upper() != "INBOX" || mAccount->createInbox())
if (!node->isDir() && (node->name().upper() != "INBOX" || !mAccount->createInbox())
&& mSubfolderNames.findIndex(node->name()) == -1)
{
kdDebug(5006) << node->name() << " disappeared." << endl;

Loading…
Cancel
Save