1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

XEP-0377: Add forgotten namespace

This commit is contained in:
Michael Vetter 2021-07-01 19:31:55 +02:00
parent 3a9cffe013
commit 07bb790565
2 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,7 @@ blocked_add(char* jid, blocked_report reportkind, const char* const message)
if (reportkind != BLOCKED_NO_REPORT) {
xmpp_stanza_t* report = xmpp_stanza_new(ctx);
xmpp_stanza_set_name(report, STANZA_NAME_REPORT);
xmpp_stanza_set_ns(report, STANZA_NS_REPORTING);
if (reportkind == BLOCKED_REPORT_ABUSE) {
xmpp_stanza_set_attribute(report, STANZA_ATTR_REASON, STANZA_REPORTING_ABUSE);
} else {

View File

@ -243,6 +243,7 @@
#define STANZA_NS_VOICEREQUEST "http://jabber.org/protocol/muc#request"
#define STANZA_NS_JINGLE_MESSAGE "urn:xmpp:jingle-message:0"
#define STANZA_NS_JINGLE_RTP "urn:xmpp:jingle:apps:rtp:1"
#define STANZA_NS_REPORTING "urn:xmpp:reporting:1"
#define STANZA_DATAFORM_SOFTWARE "urn:xmpp:dataforms:softwareinfo"