Mercurial > prosody-modules
annotate mod_adhoc_blacklist/README.markdown @ 4700:f821eeac0e50
mod_pastebin: Fix pasting when <body> is not the first tag (thanks thorsten)
Introduced in ded630a87563
stanza:get_child() and :get_child_text() operates on the first child
when no name or namespace is given.
If it so happens that the first child is an <thread/> instead of <body>
then it calculates the line length against that instead of the body.
Apparently in the vast majority of clients the <body> is first, so this
issue was not noticed until now.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 29 Sep 2021 13:39:59 +0200 |
parents | 262cce6487bc |
children |
rev | line source |
---|---|
1811 | 1 --- |
2 summary: 'Block remote servers via ad-hoc command' | |
3 ... | |
4 | |
5 Introduction | |
6 ============ | |
7 | |
1839
262cce6487bc
mod_adhoc_blacklist/README: Hint at how to find the command
Kim Alvefur <zash@zash.se>
parents:
1811
diff
changeset
|
8 This module provides the *Edit Blacklist* ad-hoc command described in |
1811 | 9 [XEP-0133](http://xmpp.org/extensions/xep-0133.html#edit-blacklist) and |
10 also performs the actual blocking of incoming and outgoing | |
11 server-to-server connections. | |
12 | |
1839
262cce6487bc
mod_adhoc_blacklist/README: Hint at how to find the command
Kim Alvefur <zash@zash.se>
parents:
1811
diff
changeset
|
13 Using |
262cce6487bc
mod_adhoc_blacklist/README: Hint at how to find the command
Kim Alvefur <zash@zash.se>
parents:
1811
diff
changeset
|
14 ===== |
262cce6487bc
mod_adhoc_blacklist/README: Hint at how to find the command
Kim Alvefur <zash@zash.se>
parents:
1811
diff
changeset
|
15 |
262cce6487bc
mod_adhoc_blacklist/README: Hint at how to find the command
Kim Alvefur <zash@zash.se>
parents:
1811
diff
changeset
|
16 In your client, simply select the Edit Blacklist command from the list |
262cce6487bc
mod_adhoc_blacklist/README: Hint at how to find the command
Kim Alvefur <zash@zash.se>
parents:
1811
diff
changeset
|
17 of adhoc commands. E.g. in Pidgin, this is under *Accounts -\> (your |
262cce6487bc
mod_adhoc_blacklist/README: Hint at how to find the command
Kim Alvefur <zash@zash.se>
parents:
1811
diff
changeset
|
18 account)* in the menu. |
262cce6487bc
mod_adhoc_blacklist/README: Hint at how to find the command
Kim Alvefur <zash@zash.se>
parents:
1811
diff
changeset
|
19 |