annotate mod_s2s_whitelist/README.markdown @ 4298:020dd0a59f1f

mod_muc_markers: Add option for @id rewriting, default off (may break some clients) XEP-0333 was updated to clarify that stanza-id should be used instead of the 'id' attribute when in a MUC. Some clients still use the id attribute, which is why we were rewriting it. Rewriting is bad because mod_muc advertises stable_id, indicating that Prosody does *not* rewrite ids. Recent versions of Conversations actually depend on this being true. All clients should migrate to using stanza-id for markers. See XEP-0333.
author Matthew Wild <mwild1@gmail.com>
date Mon, 14 Dec 2020 12:09:25 +0000
parents 6e5bde0879ad
children 313937349fbc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3155
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 This module lets you block connections to any remote servers not on a
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 whitelist.
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 ``` {.lua}
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 s2s_whitelist = {
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 "example.org",
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 }
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 ```