diff options
author | David Rousselie <dax@happycoders.org> | 2008-03-07 18:03:47 +0300 |
---|---|---|
committer | David Rousselie <dax@happycoders.org> | 2008-03-07 18:03:47 +0300 |
commit | 6804ffd89092225e9549d51bea82801f2a503df4 (patch) | |
tree | ea196e254c876b452e5fec0bba866d6c158df417 /src | |
parent | 089ccbd8088dc52fda34225cc7f1b4742b11f9be (diff) |
Switch back to read-write mode while checking for new mail on IMAP
accounts
If in read only mode, all emails will stay with 'RECENT' flag between checks.
darcs-hash:20080307150347-86b55-db2339c066d4ed47b406eaa6df146c24cc7f6514.gz
Diffstat (limited to 'src')
-rw-r--r-- | src/jmc/model/account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jmc/model/account.py b/src/jmc/model/account.py index bdbded5..194d6fe 100644 --- a/src/jmc/model/account.py +++ b/src/jmc/model/account.py @@ -436,7 +436,7 @@ class IMAPAccount(MailAccount): Get a list of new emails indexes """ self.__logger.debug("Getting mail list") - typ, data = self.connection.select(self._get_real_mailbox(), True) + typ, data = self.connection.select(self._get_real_mailbox()) typ, data = self.connection.search(None, 'RECENT') if typ == 'OK': return data[0].split(' ') |