aboutsummaryrefslogtreecommitdiffstats
path: root/cloud_mdir_sync/gmail.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloud_mdir_sync/gmail.py')
-rw-r--r--cloud_mdir_sync/gmail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud_mdir_sync/gmail.py b/cloud_mdir_sync/gmail.py
index 6bd71a1..49468d4 100644
--- a/cloud_mdir_sync/gmail.py
+++ b/cloud_mdir_sync/gmail.py
@@ -304,7 +304,7 @@ class GMailMessage(messages.Message):
self.content_hash = mailbox.msgdb.content_hashes_cloud.get(
self.cid())
if self.content_hash:
- self.email_id = mailbox.msgdb.content_msgid[self.content_hash]
+ self.fill_email_id()
self.gmail_labels = gmail_labels
if self.gmail_labels:
self._labels_to_flags()