Configuration

Minimal setup

For a minimal prosody <https://prosody.im> based setup, add these lines at the bottom of /etc/prosody/prosody.cfg.lua:

Component "messlidger.example.org"
    component_secret = "secret"

And start messlidger with:

messlidger \
  --jid messlidger.example.org \
  --secret secret \
  --home-dir /somewhere/writable

Advanced usage

Refer to the slidge admin docs for more advanced setups and examples of configuration for other XMPP servers.

You will probably want to add support for attachments received from Facebook Messenger, and setup messlidger as a privileged component for better UX.

messlidger-specific config

All generic slidge configuration options apply. messlidger provides these additional component-wide options:

You can use these values in a configuration file or as command-line arguments (in this case, prepend the option name with two dashes).

name type value
chats-to-fetch int The number of most recent chats to fetch on startup. Getting all chats might hit rate limiting and possibly account lock. Please report if you try with high values and don't hit any problem!