diff options
author | Catalin Badea <catalin.badea392@gmail.com> | 2012-07-03 13:17:51 (GMT) |
---|---|---|
committer | Cătălin Badea <catalin.badea392@gmail.com> | 2012-08-11 15:52:57 (GMT) |
commit | b9b59d265f44e3e5341635baaac160fe57a5685e (patch) | |
tree | 1e7d85f0b7daa0791c60a2434ee0d65a50bd36c5 /Swiften/History/SQLiteHistoryManager.h | |
parent | 80d2797f246e32edce4083ed7f86389a6c358d43 (diff) | |
download | swift-contrib-b9b59d265f44e3e5341635baaac160fe57a5685e.zip swift-contrib-b9b59d265f44e3e5341635baaac160fe57a5685e.tar.bz2 |
Added message type logging. Fixed handling new messages.
Diffstat (limited to 'Swiften/History/SQLiteHistoryManager.h')
-rw-r--r-- | Swiften/History/SQLiteHistoryManager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/History/SQLiteHistoryManager.h b/Swiften/History/SQLiteHistoryManager.h index 480d570..fce30f8 100644 --- a/Swiften/History/SQLiteHistoryManager.h +++ b/Swiften/History/SQLiteHistoryManager.h @@ -19,8 +19,8 @@ namespace Swift { ~SQLiteHistoryManager(); void addMessage(const HistoryMessage& message); - std::vector<HistoryMessage> getMessages(const JID& selfJID, const JID& contactJID, bool isGroupChat) const; - void getAllContacts(const JID& selfJID, std::set<JID>& mucs, std::set<JID>& contacts) const; + std::vector<HistoryMessage> getMessages(const JID& selfJID, const JID& contactJID, HistoryMessage::Type type) const; + std::set<JID> getContacts(const JID& selfJID, HistoryMessage::Type type) const; private: int getIDForJID(const JID&); |