#1024 MAM preferences falls back to defaults for offline users
Reporter
Zash
Owner
Zash
Created
Updated
Stars
★ (1)
Tags
Status-Fixed
Milestone-0.10
Priority-Medium
Type-Defect
Zash
on
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?
0.10.0
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.
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? 0.10.0 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.
Fixed in https://hg.prosody.im/0.10/rev/aa6497031924
ChangesSecurityHiddenStatus-Fixed Priority-Medium