summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCătălin Badea <catalin.badea392@gmail.com>2012-08-21 17:45:40 (GMT)
committerCătălin Badea <catalin.badea392@gmail.com>2012-08-21 17:46:49 (GMT)
commit8539b9f1ef656147196ae57a3403b321d1032513 (patch)
tree99525b4b746a9e71a0e811b70e7c49be86ee9521 /Swift/Controllers/Chat/ChatControllerBase.cpp
parente5548caf08dbb4fe4208a23ece9e8e9e0667a8dd (diff)
downloadswift-contrib-8539b9f1ef656147196ae57a3403b321d1032513.zip
swift-contrib-8539b9f1ef656147196ae57a3403b321d1032513.tar.bz2
Add experimental flags.catalinb/history2
Diffstat (limited to 'Swift/Controllers/Chat/ChatControllerBase.cpp')
-rw-r--r--Swift/Controllers/Chat/ChatControllerBase.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/ChatControllerBase.cpp b/Swift/Controllers/Chat/ChatControllerBase.cpp
index 754401b..b5fe0c0 100644
--- a/Swift/Controllers/Chat/ChatControllerBase.cpp
+++ b/Swift/Controllers/Chat/ChatControllerBase.cpp
@@ -146,7 +146,9 @@ void ChatControllerBase::handleSendMessageRequest(const std::string &body, bool
postSendMessage(message->getBody(), boost::dynamic_pointer_cast<Stanza>(message));
onActivity(message->getBody());
+#ifdef SWIFT_EXPERIMENTAL_HISTORY
logMessage(body, selfJID_, toJID_, now, false);
+#endif
}
void ChatControllerBase::handleSecurityLabelsCatalogResponse(boost::shared_ptr<SecurityLabelsCatalog> catalog, ErrorPayload::ref error) {