Mercurial > prosody-modules
annotate mod_spam_reporting/README.markdown @ 4738:5aee8d86629a
mod_bookmarks2: Fix handling of nick and password elements
This form of child retrieval fails when the stanza elements internally
don't have an 'xmlns' attribute, which can happen sometimes for some
reason, including when they have been constructed via the stanza builder
API. When that is the case then the explicit namespace arguemnt does not
match the nil value of the internal attribute. Calling `:get_child()`
without the namespace argument does the right thing here, with both nil
and the parent namespace as valid values for the internal attribute.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 03 Nov 2021 21:11:55 +0100 |
parents | 476afcbfb3e9 |
children | 48c27b51f992 |
rev | line source |
---|---|
2268 | 1 --- |
2278
983abc684851
mod_spam_reporting/README: Set Beta tag
Kim Alvefur <zash@zash.se>
parents:
2269
diff
changeset
|
2 labels: |
983abc684851
mod_spam_reporting/README: Set Beta tag
Kim Alvefur <zash@zash.se>
parents:
2269
diff
changeset
|
3 - 'Stage-Beta' |
4104
476afcbfb3e9
various: Add some dependency metadata
Kim Alvefur <zash@zash.se>
parents:
2282
diff
changeset
|
4 rockspec: |
476afcbfb3e9
various: Add some dependency metadata
Kim Alvefur <zash@zash.se>
parents:
2282
diff
changeset
|
5 dependencies: |
476afcbfb3e9
various: Add some dependency metadata
Kim Alvefur <zash@zash.se>
parents:
2282
diff
changeset
|
6 - mod_blocklist |
2268 | 7 summary: 'XEP-0377: Spam Reporting' |
8 --- | |
9 | |
2269
a730ab6f3aaa
mod_spam_reporting/README: Fix syntax mistakenly normalized by pandoc
Kim Alvefur <zash@zash.se>
parents:
2268
diff
changeset
|
10 This module is a very basic implementation of [XEP-0377: Spam Reporting]. |
2268 | 11 |
2282
122f0e53dc5a
mod_spam_reporting/README: Mention the event.
Kim Alvefur <zash@zash.se>
parents:
2278
diff
changeset
|
12 When someone reports spam or abuse, a line about this is logged and an |
122f0e53dc5a
mod_spam_reporting/README: Mention the event.
Kim Alvefur <zash@zash.se>
parents:
2278
diff
changeset
|
13 event is fired so that other modules can act on the report. |