mod_muc_mam not sending history

18 views
Skip to first unread message

Vishnu Vardhan Reddy

unread,
Sep 11, 2020, 9:01:31 AM9/11/20
to prosody-dev
Hi,
Greetings!

I have issue with offline messages. When a user 'A' sends message to a offline user 'B' in one-to-one chat, those offline messages are received by user 'B' once he/she goes online. But in MUC conference, when a new users join the conversation, they are not receiving the history of last 20 messages as mentioned in documentation.
 
Below is my conference component configuration:

Component "conference.localhost" "muc"
    modules_enabled = { "muc_mam"; }
    max_history_messages = 100
    storage = { muc_log = "sql"; }
    muc_room_locking = false
    muc_room_lock_timeout = 10 
    muc_log_by_default = true
    muc_log_presences = true
    log_all_rooms = true
    muc_log_expires_after = "1w"
    muc_log_cleanup_interval = 4 * 60 * 60

Please help me in finding the solution.
Thank you.

Regards,
Vishnu

Reply all
Reply to author
Forward
0 new messages