diff options
author | Tobias Markmann <tm@ayena.de> | 2017-06-19 09:59:20 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2017-06-21 15:56:20 (GMT) |
commit | 027111dcd9f5812342066d3bd3e1dbb1f46b3c95 (patch) | |
tree | 99fcd35d79dc64cb07b2aec0c5c4113b75fcdd7e /Swift/Controllers/Chat/ChatController.cpp | |
parent | 83fb5ae3da2e5e690a3eafae99f6cd0cb59a2496 (diff) | |
download | swift-027111dcd9f5812342066d3bd3e1dbb1f46b3c95.zip swift-027111dcd9f5812342066d3bd3e1dbb1f46b3c95.tar.bz2 |
Add Coala config for whitespace checking
Coala ( https://coala.io/ ), is a meta linting tool, that
comes with own checks and integration for external tools for
a lot languages.
This adds a configuration that enforces no trailing whitespace
and no lines with only whitespaces.
Test-Information:
Ran coala and fixes the issues it raised.
Change-Id: I30b201135bbe8888d9d1bcadb28f9ced9b5db28f
Diffstat (limited to 'Swift/Controllers/Chat/ChatController.cpp')
-rw-r--r-- | Swift/Controllers/Chat/ChatController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/ChatController.cpp b/Swift/Controllers/Chat/ChatController.cpp index b6ca984..fe8e870 100644 --- a/Swift/Controllers/Chat/ChatController.cpp +++ b/Swift/Controllers/Chat/ChatController.cpp @@ -579,7 +579,7 @@ bool ChatController::shouldIgnoreMessage(std::shared_ptr<Message> message) { } return false; } - + JID ChatController::messageCorrectionJID(const JID& fromJID) { return fromJID.toBare(); } |