From d0f5efabfe61347df011c3dab5e47a45b53e8b22 Mon Sep 17 00:00:00 2001 From: HanzZ Date: Sat, 18 Jun 2011 20:55:48 +0200 Subject: Added RosterItemExchangePayload::item::setGroups License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php diff --git a/Swiften/Elements/RosterItemExchangePayload.h b/Swiften/Elements/RosterItemExchangePayload.h index c39c084..f9aa2c8 100644 --- a/Swiften/Elements/RosterItemExchangePayload.h +++ b/Swiften/Elements/RosterItemExchangePayload.h @@ -53,6 +53,10 @@ namespace Swift { return groups; } + void setGroups(const std::vector &groups) { + this->groups = groups; + } + void addGroup(const std::string& group) { groups.push_back(group); } -- cgit v0.10.2-6-g49f6