view mod_uptime_presence/README.markdown @ 4021:1925d63eec6b

mod_rest/jsonmap: Derive stanza @type from certain payloads Because I forget type=set every single time with ad-hoc commands.
author Kim Alvefur <zash@zash.se>
date Sat, 16 May 2020 18:30:01 +0200
parents 4d73a1a6ba68
children
line wrap: on
line source

---
labels:
summary: Report server uptime in presence
...

Introduction
============

This module simply responds to a presence probe sent to the server with
a presence staza containing a timestamp from when the server started.

This is imagined as an alternative to the XEP-0012 "Last Activity"
protocol that can seem a bit overloaded.