diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2020-02-05 13:50:31 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-02-07 11:25:26 -0400 |
commit | f44a42f276e01514a1e4bf3028639aaea58138c6 (patch) | |
tree | 5bbc0cb32a31f9b285d8158b7e8053f6a4d22c42 /cloud_mdir_sync/gmail.py | |
parent | f578f75464791e7bfbf6b2544fd8651fe8b6f974 (diff) | |
download | cloud_mdir_sync-f44a42f276e01514a1e4bf3028639aaea58138c6.tar.gz cloud_mdir_sync-f44a42f276e01514a1e4bf3028639aaea58138c6.tar.bz2 cloud_mdir_sync-f44a42f276e01514a1e4bf3028639aaea58138c6.zip |
Allow access to the message headers during mail directing
Access to the headers like List-ID allows some client side filtering of
incoming messages.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'cloud_mdir_sync/gmail.py')
-rw-r--r-- | cloud_mdir_sync/gmail.py | 2 |
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() |