view mod_cache_c2s_caps/README.markdown @ 4917:3dc8e329d233

mod_rest: Move most of XEP-0432 handling into JSON mapping schema The pre- and post-processing is still needed to encode/decode the JSON since util.datamapper can't (currently) do this.
author Kim Alvefur <zash@zash.se>
date Thu, 07 Apr 2022 15:39:57 +0200
parents b54e98d5c4a1
children
line wrap: on
line source

---
summary: Cache caps on user sessions
---

Description
===========

This module listens on presences containing caps (XEP-0115) and asks the client
for the corresponding disco#info if it changed.

It fires the c2s-capabilities-changed event once the disco#info result is
received.

Compatibility
=============

  ------- ---------------
  trunk   Works
  0.11    Does not work
  0.10    Does not work
  ------- ---------------