view mod_uptime_presence/README.markdown @ 4473:3b50a9a75fb6

mod_rest: Roundtrip disco and items when string or boolean is used E.g. {disco:true} turns to <query/> and back to {disco:true}, same with {items:true}. Similarily, {disco:"node"}, {items:"node"} turn into <query node="node"/> and back.
author Kim Alvefur <zash@zash.se>
date Fri, 26 Feb 2021 22:05:25 +0100
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.