#1024 MAM preferences falls back to defaults for offline users
What steps will reproduce the problem?
1. Set the MAM prefs default to the opposite of default_archive_policy
2. Be offline
3. Receive a message with all the content needed to be archived, not counting prefs
What is the expected output?
Message is treated per account prefs
What do you see instead?
Message is treated per global default
What version of the product are you using? On what operating system?
Please provide any additional information below.
get_prefs in mod_mam/mamprefs.lib.lua only reads from storage if the user has at least one connected session.