-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I'm on thunderbird 128.7.1esr and installed the extension yesterday. But it didn't want to fully sort my inbox.
One of the errors reported on the debug console was:
Error: Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.getSubFolders() requires to specify a MailFolderId instead of a full MailFolder object.
Error: Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.create() requires to specify a MailFolderId instead of a full MailFolder object.
Seems like my thunderbird provides kind of v3 api to the extension, which includes some breaking changes.
To get it working again it seems to be enough to pass MailFolder.id! instead of MailFolder to the affected functions (folders.getSubFolders, folders.create, messages.move; thats what I did locally and then it fully processed my inbox), but from skimming through the source code here there seems to be some more minor changes needed to properly support v3.
The extension in my installation seems to be able to use some state between manifest v2 and v3 because I don't know why other parts supposedly removed in v3 (like MailFolder.type) still work.