Messages after using mod_mam not retrieving automatically

Hi - I just started integrating mod_mam (leveraging ejabberd 16.01) in my chat application and noticed that even when both users are online, messages between the two users don't get delivered but rather get stored in the offline_msg.dat table. That doesn't seem quite right - is there something wrong with my configuration please? Or is the expected behavior that the client needs to fetch the messages manually / explicitly if mod_mam has been implemented?

My configuration simply enables contains these two lines:

mod_mam:
db_type: mnesia

Thanks!

Actually, after further

Actually, after further testing, I could eliminate the above problem. However, even when both parties are online, activating mod_mam still doesn't store messages in the archive_msg table. Is that something folks can advise on please? Thanks.

Never mind - figured it out!

Never mind - figured it out! Had to do with a missing configuration!!!, i.e. not having used default: always option.

Syndicate content