Revert "Do not include an empty item XML element in join presences"

This reverts commit e3b91475ff.
This commit is contained in:
Florent Le Coz
2014-02-17 01:21:38 +01:00
parent 274859c096
commit 6dbf36b974
-1
View File
@@ -324,7 +324,6 @@ 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)