diff options
Diffstat (limited to 'Swiften/Examples/SendMessage/SendMessage.cpp')
-rw-r--r-- | Swiften/Examples/SendMessage/SendMessage.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Examples/SendMessage/SendMessage.cpp b/Swiften/Examples/SendMessage/SendMessage.cpp index fe020aa..567a351 100644 --- a/Swiften/Examples/SendMessage/SendMessage.cpp +++ b/Swiften/Examples/SendMessage/SendMessage.cpp @@ -58,6 +58,7 @@ int main(int argc, char* argv[]) { } client = new Swift::Client(&eventLoop, JID(jid), String(argv[argi++])); + client->setAlwaysTrustCertificates(); recipient = JID(argv[argi++]); messageBody = std::string(argv[argi++]); |