Commit 89bb886a authored by louiz’'s avatar louiz’

Always add a 210 status in our self join presence

Because it's much much simpler than to track if we changed the nick that
was requested in the join request. And client will probably not get confused,
I hope.
parent cbfb5629
......@@ -340,8 +340,10 @@ void XmppComponent::send_user_join(const std::string& from,
if (self)
{
XmlSubNode status(x, "status");
status["code"] = "110";
XmlSubNode status_self(x, "status");
status_self["code"] = "110";
XmlSubNode status_nick_modified(x, "status");
status_nick_modified["code"] = "210";
}
}
this->send_stanza(presence);
......
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