diff options
Diffstat (limited to 'slixmpp/plugins/xep_0377/stanza.py')
-rw-r--r-- | slixmpp/plugins/xep_0377/stanza.py | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/slixmpp/plugins/xep_0377/stanza.py b/slixmpp/plugins/xep_0377/stanza.py index 1930c382..ccc04c1f 100644 --- a/slixmpp/plugins/xep_0377/stanza.py +++ b/slixmpp/plugins/xep_0377/stanza.py @@ -14,15 +14,18 @@ class Report(ElementBase): A spam/abuse report. Example sub stanza: + :: - <report xmlns="urn:xmpp:reporting:0"> - <text xml:lang="en"> - Never came trouble to my house like this. - </text> - <spam/> - </report> + <report xmlns="urn:xmpp:reporting:0"> + <text xml:lang="en"> + Never came trouble to my house like this. + </text> + <spam/> + </report> Stanza Interface: + :: + abuse -- Flag the report as abuse spam -- Flag the report as spam text -- Add a reason to the report |