Repository navigation
xep0377: add report-origin, third-party and stanza-ids - #114
Merged
Merged
Conversation
Contributor
Author
|
Or should I be using underscores in attribute names, like |
Member
|
Looking at the xmpp_codec.spec file, the ref labels that have several words separate them with The string used in the final XML is correctly set in |
This implements missing parts of xep0377 as of v0.4.1.
sstrigler
force-pushed
the
xep0377_missing_parts
branch
from
October 15, 2026 07:53
025950e to
651759a
Compare
Contributor
Author
|
Thanks, that's what I meant. I've updated the PR accordingly. Now it looks like this: (ejabberd@localhost)3> xmpp:decode(fxml_stream:parse_element(<<"<report xmlns='urn:xmpp:reporting:1' reason='urn:xmpp:reporting:abuse'><report-origin/><stanza-id xmlns='urn:xmpp:sid:0' by='romeo@example.net' id='28482-98726-73623'/><text xml:lang='de'>hallo</text></report>">>)).
#report{reason = abuse,
text = [#text{lang = <<"de">>,data = <<"hallo">>}],
report_origin = true,third_party = false,
stanza_ids = [#stanza_id{by = #jid{user = <<"romeo">>,
server = <<"example.net">>,resource = <<>>,
luser = <<"romeo">>,lserver = <<"example.net">>,
lresource = <<>>},
id = <<"28482-98726-73623">>}]} |
Contributor
Author
|
Beware, maybe because I force pushed the automated Also for some odd reason CI is acting up. Should I just delete this PR and try with a new one? |
Member
|
Don't worry, let's merge, it may generate then, or can be made manually. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An example says more than ...