This module handles the storage of offline messages to disk, ready to be delivered to users when the next log in.

mod_offline is an automatically loaded module. To disable it you need to add it to modules_disabled in your config file, see below for details.


mod_offline will implement XEP-0160, XEP-0203 and XEP-0091 for backwards compatibility with older clients.


This module is active by default, and no configuration is required.


To completely disable the module, you must add it to modules_disabled:

    modules_disabled = {
       "offline"; -- Disable mod_offline

If no other module is loaded to handle offline messages, messages to offline users will be returned to the sender with a "service unavailable" error.