#1497 mod_muc_mam: Traceback storing message from room in non-anonymous room

Reporter Zash
Owner Zash
Stars ★ (1)
  • Type-Defect
  • Status-Fixed
  • Priority-Medium
  • Milestone-0.11
  1. Zash on

    1. Enable mod_muc_moderation 2. Configure room as whois=anyone 3. Moderate a message 19:47:09 c2s562619bc2e80errorTraceback[c2s]: plugins/mod_muc_mam.lua:364: attempt to index a nil value (field ?) stack traceback: plugins/mod_muc_mam.lua:364: in upvalue save_to_history plugins/mod_muc_mam.lua:415: in field ? ./util/events.lua:79: in function <./util/events.lua:75> (...tail calls...) plugins/muc/history.lib.lua:198: in field ? ./util/events.lua:79: in function <./util/events.lua:75> (...tail calls...) plugins/muc/muc.lib.lua:173: in method broadcast_message ../modules/mod_muc_moderation/mod_muc_moderation.lua:112: in field ? ./util/events.lua:79: in function <./util/events.lua:75> (...tail calls...) ./util/events.lua:79: in function <./util/events.lua:75> (...tail calls...) ./core/stanza_router.lua:188: in upvalue core_post_stanza ./core/stanza_router.lua:128: in upvalue core_process_stanza plugins/mod_c2s.lua:283: in upvalue func ./util/async.lua:127: in function <./util/async.lua:125>

  2. Zash on

    I fix!

    • owner Zash
    • tags Milestone-0.11 Status-Started
  3. Zash on

    Fixed in https://hg.prosody.im/0.11/rev/5376f882cf82

    • tags Status-Fixed

New comment

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