File

mod_server_contact_info/README.md @ 6043:7b093a9b95ea

mod_report_forward: Fix traceback on error message passed to datetime function If archive:get() returns an error, e.g. because it can't find a message with the given ID, it may return e.g. nil, "item-not-found" or similar where the error condition ends up in reported_message_time, which gets passed to util.datetime, which thus ends up doing math to a string or error object.
author Kim Alvefur <zash@zash.se>
date Wed, 06 Nov 2024 22:25:41 +0100
parent 5948:254a21a104aa
line wrap: on
line source

---
labels:
- 'Stage-Alpha'
summary: Backported mod_server_contact_info for Prosody 0.12
...

## Overview

In February 2024 we improved the internal API to allow multiple modules to
publish information about the server, this includes mod_pubsub_serverinfo.

Although Prosody 0.12 comes with its own mod_server_contact_info, this version
uses the new API so that 0.12 users can hopefully use mod_pubsub_serverinfo
and other modules which use the new API.

To use it, you must ensure that your Prosody 0.12 deployment is loading *both*
mod_server_contact_info **and** mod_server_info community modules.

Configuration of contact addresses is the same, whatever version of the module
you use. See the official documentation on [Prosody's mod_server_contact_info](https://prosody.im/doc/modules/mod_server_contact_info)
page.

## Compatibility

This module should be compatible with Prosody 0.12, and will fail to load in
later versions (which already provide the same functionality without community
modules).