~singpolyma/biboumi

2ef41e1afca824acc0cd0ac9a714016459a24d25 — louiz’ 4 years ago 4ee3dd6
Add missing affiliation and role in nick change presence

Fix #3429
1 files changed, 2 insertions(+), 0 deletions(-)

M src/xmpp/xmpp_component.cpp
M src/xmpp/xmpp_component.cpp => src/xmpp/xmpp_component.cpp +2 -0
@@ 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)