Also send message body when using XEP-0377: Spam Reporting
Profanity does not send the message in XEP-0377 reports but some end points require this (to have proof, to know the exact time when the spam was received and so on), therefor it would be good if profanity would also send the message as seen in example 5.
We have `/blocked report-abuse|report-spam JID MESSAGE". Did you use this?
Yes, exactly.
Should be ok: https://github.com/profanity-im/profanity/blob/master/src/xmpp/blocking.c#L135 Can you check via xmpconsole what it actually sends?
Sorry, I had no spam the last weeks, only today I received some again but forgot to report using profanity master. Will try to check next spam wave.
Got another spam and it looks like the message is not included:
Jun 23 11:03:55 c2s560772963a50 debug RECV: <iq id='G4mz8JGpBzS7yO87bba9465e6e1632c7efc0e98c81f75a0c04bc693' type='set' xml:lang='en'><block xmlns='urn:xmpp:blocking'><item jid='b*******[email protected]'><report xmlns='urn:xmpp:reporting:1' reason='urn:xmpp:reporting:spam'/></item></block></iq>
profanity -v
Profanity, version 0.14.0dev.master.996a1fdf
Copyright (C) 2012 - 2019 James Booth <[email protected]>.
Copyright (C) 2019 - 2024 Michael Vetter <[email protected]>.
License GPLv3+: GNU GPL version 3 or later <https://www.gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Build information:
XMPP library: libstrophe
Desktop notification support: Enabled
OTR support: Disabled
PGP support: Enabled (libgpgme 1.18.0)
OMEMO support: Enabled
C plugins: Enabled
Python plugins: Disabled
GTK icons/clipboard: Disabled
GDK Pixbuf: Enabled