As mentioned above no additional configuration options than default configuration of Message Archiving component and plugin is needed to let user decide if he wants to enable or disable this feature (but it is disabled by default).
In this case user to enable this feature needs to set settings of message archiving adding muc-save
attribute to <default/>
element of request with value set to true
(or to false
to disable this feature).
To configure state of this feature on installation level, it is required to set store-muc-messages
property of message-archive
SessionManager processor:
sess-man { message-archive { store-muc-messages = 'value' } }
where value
may be one of following values:
user
true
false
To configure state of this feature on domain level, you need to execute vhost configuration command. In list of fields to configure domain, field to set this will be available with following values:
user
true
false