Messages are a sub-object of threads. The content of a message === immutable (with the exception being drafts). Mailspring does not support operations such as move || delete on individual messages; those operations should be performed on the message’s thread. All messages are part of a thread, even if that thread has only one message. |
app\src\global\mailspring-exports.js const lazyLoadAndRegisterModel = (klassName, path) => { lazyLoad(klassName, `flux/models/${path}`); DatabaseObjectRegistry.register(klassName, () => exports[klassName]); }; lazyLoadAndRegisterModel(`File`, 'file'); lazyLoadAndRegisterModel(`Event`, 'event'); lazyLoadAndRegisterModel(`Label`, 'label'); lazyLoadAndRegisterModel(`Folder`, 'folder'); lazyLoadAndRegisterModel(`Thread`, 'thread'); lazyLoadAndRegisterModel(`Account`, 'account'); lazyLoadAndRegisterModel(`Message`, 'message'); lazyLoadAndRegisterModel(`Contact`, 'contact'); |
Thread
|
|Archiver|手机版|小黑屋|firemail ( 粤ICP备15085507号-1 )
GMT+8, 2024-11-26 04:35 , Processed in 0.062581 second(s), 23 queries .
Powered by Discuz! X3
© 2001-2013 Comsenz Inc.