diff options
author | Catalin Badea <catalin.badea392@gmail.com> | 2012-06-27 17:53:07 (GMT) |
---|---|---|
committer | Cătălin Badea <catalin.badea392@gmail.com> | 2012-08-11 15:52:57 (GMT) |
commit | f9b22479a43e95ecee326be3da719397b87fe6eb (patch) | |
tree | 306f03e404da6cbaa39e58e5d1ed83a647effc59 /Swift/Controllers/HistoryController.cpp | |
parent | fc40104bf6e6d915561f95015e0b5617d97880e4 (diff) | |
download | swift-contrib-f9b22479a43e95ecee326be3da719397b87fe6eb.zip swift-contrib-f9b22479a43e95ecee326be3da719397b87fe6eb.tar.bz2 |
Display conversations by using roster selection
Diffstat (limited to 'Swift/Controllers/HistoryController.cpp')
-rw-r--r-- | Swift/Controllers/HistoryController.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Swift/Controllers/HistoryController.cpp b/Swift/Controllers/HistoryController.cpp index c82892a..63d4690 100644 --- a/Swift/Controllers/HistoryController.cpp +++ b/Swift/Controllers/HistoryController.cpp @@ -24,8 +24,12 @@ void HistoryController::addMessage(const JID& baseJID, const JID& fromJID, const localHistory_->addMessage(message); } -std::vector<HistoryMessage> HistoryController::getMessages() const { - return localHistory_->getMessages(); +std::vector<HistoryMessage> HistoryController::getMessages(const JID& baseJID) const { + return localHistory_->getMessages(baseJID); +} + +std::vector<JID> HistoryController::getAllContacts() const { + return localHistory_->getAllContacts(); } } |