Mercurial > prosody-modules
view mod_cache_c2s_caps/README.markdown @ 5276:67777cb7353d
mod_http_oauth2: Pedantic optimization
Checking the length of the string seems like 30% more expensive than
comparing it with the empty string (by reference, probably).
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Mar 2023 14:37:42 +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 ------- ---------------