Lua primitives: on_folder_selection()
lumail allows you to select multiple folders to open at the same time.
The function on_folder_selection() is called whenever a change is made to the selection:
- A new folder is added.
- A folder is removed.
- A folder is toggled in to/out of the selected set.
This is used in the sample configuration file to update the From: address when you enter/leave particular folders.
This function has been available since version 0.07.