summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatalin Badea <catalin.badea392@gmail.com>2012-07-01 08:50:37 (GMT)
committerCătălin Badea <catalin.badea392@gmail.com>2012-08-11 15:52:57 (GMT)
commite9c0208eb6800538eeb9664737cf88c9dae933e0 (patch)
tree8a7e0ef377ab83bb8cd960a537c070810762993f /Swift/Controllers/Chat/ChatControllerBase.h
parente117ec6c534e1b6bc3f1bcd18dadf2005672c38b (diff)
downloadswift-contrib-e9c0208eb6800538eeb9664737cf88c9dae933e0.zip
swift-contrib-e9c0208eb6800538eeb9664737cf88c9dae933e0.tar.bz2
Don't log outgoing MUC messages
Diffstat (limited to 'Swift/Controllers/Chat/ChatControllerBase.h')
-rw-r--r--Swift/Controllers/Chat/ChatControllerBase.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/ChatControllerBase.h b/Swift/Controllers/Chat/ChatControllerBase.h
index aa3246e..4e7a1da 100644
--- a/Swift/Controllers/Chat/ChatControllerBase.h
+++ b/Swift/Controllers/Chat/ChatControllerBase.h
@@ -27,6 +27,7 @@
#include "Swiften/Presence/PresenceOracle.h"
#include "Swiften/Queries/IQRouter.h"
#include "Swiften/Base/IDGenerator.h"
+#include <Swift/Controllers/HistoryController.h>
namespace Swift {
class IQRouter;
@@ -37,7 +38,6 @@ namespace Swift {
class UIEventStream;
class EventController;
class EntityCapsProvider;
- class HistoryController;
class ChatControllerBase : public boost::bsignals::trackable {
public:
@@ -79,6 +79,7 @@ namespace Swift {
virtual void cancelReplaces() = 0;
/** JID any iq for account should go to - bare except for PMs */
virtual JID getBaseJID();
+ virtual void logMessage(const std::string& message, const JID& fromJID, const JID& toJID, const boost::posix_time::ptime& timeStamp, bool isIncoming) = 0;
private:
IDGenerator idGenerator_;