diff options
Diffstat (limited to 'cloud_mdir_sync/mailbox.py')
-rw-r--r-- | cloud_mdir_sync/mailbox.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cloud_mdir_sync/mailbox.py b/cloud_mdir_sync/mailbox.py index 10b0b64..6f9fea8 100644 --- a/cloud_mdir_sync/mailbox.py +++ b/cloud_mdir_sync/mailbox.py @@ -52,14 +52,17 @@ class Mailbox(object): pass @abstractmethod - def force_content(self, msgdb: "MessageDB", - msgs: "CHMsgDict_Type") -> None: + def force_content(self, msgs: "CHMsgDict_Type") -> None: pass @abstractmethod async def merge_content(self, msgs: "CHMsgMappingDict_Type") -> None: pass + @property + def msgdb(self) -> "MessageDB": + return self.cfg.msgdb + def same_messages(self, mdict: "CHMsgMappingDict_Type", tuple_form=False) -> bool: |