File

.editorconfig @ 6057:cc665f343690

mod_firewall: SUBSCRIBED: Flip subscription check to match documentation The documentation claims that this condition checks whether the recipient is subscribed to the sender. However, it was using the wrong method, and actually checking whether the sender was subscribed to the recipient. A quick poll of folk suggested that the documentation's approach is the right one, so this should fix the code to match the documentation. This should also fix the bundled anti-spam rules from blocking presence from JIDs that you subscribe do (but don't have a mutual subscription with).
author Matthew Wild <mwild1@gmail.com>
date Fri, 22 Nov 2024 13:50:48 +0000
parent 5611:aab0023b51c9
line wrap: on
line source

# https://editorconfig.org/

root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 150

[*.json]
# json_pp -json_opt canonical,pretty
indent_size = 3
indent_style = space

[{README,COPYING,CONTRIBUTING,TODO}{,.markdown,.md}]
# pandoc -s -t markdown
indent_size = 4
indent_style = space

[*.py]
indent_size = 4
indent_style = space

[*.{xml,svg}]
# xmllint --nsclean --encode UTF-8 --noent --format -
indent_size = 2
indent_style = space

[*.yaml]
indent_size = 2
indent_style = space