#1024 MAM preferences falls back to defaults for offline users

Reporter Zash
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Type-Defect
  • Priority-Medium
  • Milestone-0.10
  • Status-Fixed
  1. 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.

  2. Zash on

    Fixed in https://hg.prosody.im/0.10/rev/aa6497031924

    Changes
    • owner Zash
    • tags Security Hidden Status-Fixed Priority-Medium

New comment

Not published. Used for spam prevention and optional update notifications.