diff options
Diffstat (limited to 'Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot0x.cpp')
-rw-r--r-- | Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot0x.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot0x.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot0x.cpp index 68affc3..b4ccc21 100644 --- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot0x.cpp +++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot0x.cpp @@ -14,8 +14,7 @@ int main(int, char**) { BoostNetworkFactories networkFactories(&eventLoop); // Initialize the client with the JID and password - Client client( - JID("echobot@wonderland.lit"), "mypass", &networkFactories); + Client client("echobot@wonderland.lit", "mypass", &networkFactories); // When the client is convnected, send out initial presence client.onConnected.connect([&] { |