louloulibs is directly included, instead of being a submodule
Because this is a nightmare to manage
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#include <xmpp/roster.hpp>
|
||||
|
||||
RosterItem::RosterItem(const std::string& jid, const std::string& name,
|
||||
std::vector<std::string>& groups):
|
||||
jid(jid),
|
||||
name(name),
|
||||
groups(groups)
|
||||
{
|
||||
}
|
||||
|
||||
RosterItem::RosterItem(const std::string& jid, const std::string& name):
|
||||
jid(jid),
|
||||
name(name),
|
||||
groups{}
|
||||
{
|
||||
}
|
||||
|
||||
void Roster::clear()
|
||||
{
|
||||
this->items.clear();
|
||||
}
|
||||
Reference in New Issue
Block a user