diff options
author | HanzZ <hanzz.k@gmail.com> | 2011-06-18 18:55:48 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-06-19 17:52:01 (GMT) |
commit | d0f5efabfe61347df011c3dab5e47a45b53e8b22 (patch) | |
tree | bd3b87a4a661aeee84bf22c5715c20236cf52f06 | |
parent | 499ec820b7b92d9f9a84569fdbc31507f462a77d (diff) | |
download | swift-contrib-d0f5efabfe61347df011c3dab5e47a45b53e8b22.zip swift-contrib-d0f5efabfe61347df011c3dab5e47a45b53e8b22.tar.bz2 |
Added RosterItemExchangePayload::item::setGroups
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
-rw-r--r-- | Swiften/Elements/RosterItemExchangePayload.h | 4 |
1 files changed, 4 insertions, 0 deletions
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<std::string> &groups) { + this->groups = groups; + } + void addGroup(const std::string& group) { groups.push_back(group); } |