Skip to content

Improve support for XEP-0377#2117

Merged
jubalh merged 4 commits intomasterfrom
xep0377
Mar 19, 2026
Merged

Improve support for XEP-0377#2117
jubalh merged 4 commits intomasterfrom
xep0377

Conversation

@jubalh
Copy link
Copy Markdown
Member

@jubalh jubalh commented Mar 19, 2026

No description provided.

jubalh added 2 commits March 19, 2026 10:36
Update `blocked_add` to use the `<body>` tag with the `jabber:client`
namespace when reporting spam, as specified in XEP-0377 Example 5.
Other report types continue to use the `<text>` tag.

Fixes: #1971
Servers might forward incoming reports to admins. So we need to display
them so they can react upon it.
@jubalh jubalh added this to the next milestone Mar 19, 2026
@jubalh jubalh self-assigned this Mar 19, 2026
jubalh added 2 commits March 19, 2026 11:07
…ments

Add support for <report-origin/> and <third-party/>.

When a server forwards a report to an administrator, the original reporter
(report-origin) and the offender (third-party) are preserved even
if the 'from' address is modified during forwarding.

Also display this information in case we receive a report.
@jubalh jubalh merged commit 046eb13 into master Mar 19, 2026
7 checks passed
@jubalh jubalh deleted the xep0377 branch March 19, 2026 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant