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