diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-02-26 14:34:03 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-02-26 14:34:03 (GMT) |
commit | e4807335c4e38dc2f047d400641c65448854b062 (patch) | |
tree | 1fa0dba9152e41b40e3c5794fd9ab993b9348230 /Swift/Controllers/Roster | |
parent | 3ea985154d59de3a3994c43d9b3dd36d089cfe2c (diff) | |
download | swift-e4807335c4e38dc2f047d400641c65448854b062.zip swift-e4807335c4e38dc2f047d400641c65448854b062.tar.bz2 |
Add "Edit details" section to Add User widget.
Resolves: #618
Diffstat (limited to 'Swift/Controllers/Roster')
-rw-r--r-- | Swift/Controllers/Roster/RosterController.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/Roster/RosterController.cpp b/Swift/Controllers/Roster/RosterController.cpp index 83291e4..706f50a 100644 --- a/Swift/Controllers/Roster/RosterController.cpp +++ b/Swift/Controllers/Roster/RosterController.cpp @@ -180,6 +180,7 @@ void RosterController::handleUIEvent(boost::shared_ptr<UIEvent> event) { RosterItemPayload item; item.setName(addContactEvent->getName()); item.setJID(addContactEvent->getJID()); + item.setGroups(std::vector<std::string>(addContactEvent->getGroups().begin(), addContactEvent->getGroups().end())); boost::shared_ptr<RosterPayload> roster(new RosterPayload()); roster->addItem(item); SetRosterRequest::ref request = SetRosterRequest::create(roster, iqRouter_); |