Mercurial > prosody-modules
view mod_ignore_host_chatstates/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 | ec3de4651306 |
children |
line wrap: on
line source
This module discards typing notifications sent to a bare host JID, preventing error replies to be sent. These errors are harmless but can be annoying sometimes if your client shows them prominently.