]> granicus.if.org Git - ejabberd/commit
Process 'name' option for all route-registering modules
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Mon, 8 Jan 2018 08:29:17 +0000 (11:29 +0300)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Mon, 8 Jan 2018 08:29:17 +0000 (11:29 +0300)
commit9d943614668b0e88e4b28958cef165bdee165e9a
treea2a741b593b418ce850637f2e5a57cec4e578721
parent150f33b39b8a4aa1fc6bba403e46f04c6dfbcfd0
Process 'name' option for all route-registering modules

The option allows to set arbitrary text for disco#info identity name.
Previously, option 'name' was supported by mod_proxy65 and mod_http_upload
only. Now, all the following modules support this option as well:
- mod_disco
- mod_irc
- mod_muc
- mod_multicast
- mod_pubsub
- mod_vcard

Example:
```
modules:
  ...
  mod_disco:
    name: "Cool XMPP Server"
  ...
```
src/mod_disco.erl
src/mod_http_upload.erl
src/mod_irc.erl
src/mod_muc.erl
src/mod_multicast.erl
src/mod_proxy65_service.erl
src/mod_pubsub.erl
src/mod_vcard.erl