[meta] Unify protocol -> folder message syncing
Categories
(MailNews Core :: General, task)
Tracking
(Not tracked)
People
(Reporter: benc, Unassigned)
Details
(Keywords: meta)
Currently each folder type provides a different way for protocols to synchronise their messages with what's actually on the server.
The interfaces Pop3Sink, nsIImapMailFolderSink, nsIImapMessageSink, nsIMsgNewsFolder and others all provide ad-hoc mechanisms to get messages and metadata from the protocol.
They all do similar things, but are implemented in very different ways. It's very inconsistent.
It'd be nice to unify all this into a decent interface, and even a single implementation. it'd be much simpler and robust.
We'd want to carefully examine the needs of all the protocols (including exchange and jmap) and come up with something that covers them all.
After all they are all doing basically the same thing: keeping a local list of messages in sync with the list on the server.
Reporter | ||
Comment 1•2 years ago
|
||
It wasn't so clear from my original description, but this also covers the mechanisms for streaming down full copies of messages for local (offline) storage.
Reporter | ||
Comment 2•2 years ago
|
||
I guess this also covers syncing creation/deletion/moving/renaming of folders.
Description
•