Revert "Do not include an empty item XML element in join presences"
This reverts commit e3b91475ff.
This commit is contained in:
@@ -324,8 +324,7 @@ void XmppComponent::send_user_join(const std::string& from,
|
|||||||
item["jid"] = preped_jid;
|
item["jid"] = preped_jid;
|
||||||
}
|
}
|
||||||
item.close();
|
item.close();
|
||||||
if (item.has_children())
|
x.add_child(std::move(item));
|
||||||
x.add_child(std::move(item));
|
|
||||||
|
|
||||||
if (self)
|
if (self)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user