Commit 2ef41e1a authored by louiz’'s avatar louiz’

Add missing affiliation and role in nick change presence

Fix #3429
parent 4ee3dd69
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment