diff options
Diffstat (limited to 'Swiften')
-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); } |