Skip to content

Commit

Permalink
Add QXmppMixManager
Browse files Browse the repository at this point in the history
This implements a manager for MIX as specified by:
* XEP-0369: Mediated Information eXchange (MIX)
* XEP-0405: Mediated Information eXchange (MIX): Participant Server
Requirements
* XEP-0406: Mediated Information eXchange (MIX): MIX Administration
* XEP-0407: Mediated Information eXchange (MIX): Miscellaneous Capabilities

Closes qxmpp-project#176
  • Loading branch information
melvo committed Apr 7, 2024
1 parent 81cef1c commit 18fe632
Show file tree
Hide file tree
Showing 7 changed files with 3,098 additions and 5 deletions.
18 changes: 13 additions & 5 deletions doc/doap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -540,10 +540,10 @@ SPDX-License-Identifier: CC0-1.0
<implements>
<xmpp:SupportedXep>
<xmpp:xep rdf:resource='https://xmpp.org/extensions/xep-0369.html'/>
<xmpp:status>partial</xmpp:status>
<xmpp:status>complete</xmpp:status>
<xmpp:version>0.14</xmpp:version>
<xmpp:since>1.1</xmpp:since>
<xmpp:note>Only IQ queries implemented</xmpp:note>
<xmpp:note>IQ stanzas for participants and channel information since 1.5; Manager since 1.7</xmpp:note>
</xmpp:SupportedXep>
</implements>
<implements>
Expand Down Expand Up @@ -581,10 +581,18 @@ SPDX-License-Identifier: CC0-1.0
<implements>
<xmpp:SupportedXep>
<xmpp:xep rdf:resource='https://xmpp.org/extensions/xep-0405.html'/>
<xmpp:status>partial</xmpp:status>
<xmpp:status>complete</xmpp:status>
<xmpp:version>0.5</xmpp:version>
<xmpp:since>1.3</xmpp:since>
<xmpp:note>Only IQ queries implemented</xmpp:note>
<xmpp:note>Manager since 1.7</xmpp:note>
</xmpp:SupportedXep>
</implements>
<implements>
<xmpp:SupportedXep>
<xmpp:xep rdf:resource='https://xmpp.org/extensions/xep-0406.html'/>
<xmpp:status>complete</xmpp:status>
<xmpp:version>0.3</xmpp:version>
<xmpp:since>1.7</xmpp:since>
</xmpp:SupportedXep>
</implements>
<implements>
Expand All @@ -593,7 +601,7 @@ SPDX-License-Identifier: CC0-1.0
<xmpp:status>partial</xmpp:status>
<xmpp:version>0.1</xmpp:version>
<xmpp:since>1.4</xmpp:since>
<xmpp:note>Only invitations implemented</xmpp:note>
<xmpp:note>Only invitations implemented; Manager since 1.7</xmpp:note>
</xmpp:SupportedXep>
</implements>
<implements>
Expand Down
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ set(INSTALL_HEADER_FILES
client/QXmppMamManager.h
client/QXmppMessageHandler.h
client/QXmppMessageReceiptManager.h
client/QXmppMixManager.h
client/QXmppMucManager.h
client/QXmppOutgoingClient.h
client/QXmppRegistrationManager.h
Expand Down Expand Up @@ -262,6 +263,7 @@ set(SOURCE_FILES
client/QXmppJingleMessageInitiationManager.cpp
client/QXmppMamManager.cpp
client/QXmppMessageReceiptManager.cpp
client/QXmppMixManager.cpp
client/QXmppMucManager.cpp
client/QXmppOutgoingClient.cpp
client/QXmppRosterManager.cpp
Expand Down
1 change: 1 addition & 0 deletions src/base/QXmppConstants_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ inline constexpr QStringView ns_mix_node_presence = u"urn:xmpp:mix:nodes:presenc
inline constexpr QStringView ns_mix_node_jidmap = u"urn:xmpp:mix:nodes:jidmap";
// XEP-0405: Mediated Information eXchange (MIX): Participant Server Requirements
inline constexpr QStringView ns_mix_pam = u"urn:xmpp:mix:pam:2";
inline constexpr QStringView ns_mix_pam_archiving = u"urn:xmpp:mix:pam:2#archive";
inline constexpr QStringView ns_mix_roster = u"urn:xmpp:mix:roster:0";
inline constexpr QStringView ns_mix_presence = u"urn:xmpp:presence:0";
// XEP-0406: Mediated Information eXchange (MIX): MIX Administration
Expand Down
Loading

0 comments on commit 18fe632

Please sign in to comment.