diff options
author | louiz’ <louiz@louiz.org> | 2020-04-19 11:49:07 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2020-04-19 11:49:07 +0200 |
commit | 2ef41e1afca824acc0cd0ac9a714016459a24d25 (patch) | |
tree | 830f8b1e368850b0fc63997cc03765c424765ece /src/xmpp | |
parent | 4ee3dd695eb8f80c019290ccb9c4233f9067d3d0 (diff) | |
download | biboumi-2ef41e1afca824acc0cd0ac9a714016459a24d25.tar.gz biboumi-2ef41e1afca824acc0cd0ac9a714016459a24d25.tar.bz2 biboumi-2ef41e1afca824acc0cd0ac9a714016459a24d25.tar.xz biboumi-2ef41e1afca824acc0cd0ac9a714016459a24d25.zip |
Add missing affiliation and role in nick change presence3429-not-compliant-presence
Fix #3429
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/xmpp_component.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xmpp/xmpp_component.cpp b/src/xmpp/xmpp_component.cpp index 767fb2e..de9a7a6 100644 --- a/src/xmpp/xmpp_component.cpp +++ b/src/xmpp/xmpp_component.cpp @@ -481,6 +481,8 @@ void XmppComponent::send_nick_change(const std::string& muc_name, x["xmlns"] = MUC_USER_NS; XmlSubNode item(x, "item"); item["nick"] = new_nick; + item["affiliation"] = affiliation; + item["role"] = role; XmlSubNode status(x, "status"); status["code"] = "303"; if (self) |