Skip to content

MAM archive in MUC rooms: archive size #4215

Discussion options

You must be logged in to vote

Since we only use clients that we implemented for this purpose, we can ensure that all message retrieval is done using MAM, however setting history_size to 0 causes archive queries to not retrieve any messages.

That traditional in-memory history is used as fall-back when MAM storage wasn't enabled (by the client or the owner) in the room configuration. To enable it for new rooms by default:

mod_muc:
  default_room_options:
    mam: true
    persistent: true

I noticed that the current MAM specification uses the namespace urn:xmpp:mam:2 consistently, but Ejabberd only recognizes queries with the namespace urn:xmpp:mam:0.

ejabberd supports all MAM revisions up to urn:xmpp:mam:2. If a :2

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mremond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants