1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-24 03:27:59 +01:00

Merge pull request #336 from bjalon/patch-4

Update gettingstarted.md
This commit is contained in:
Florian Schmaus 2019-08-22 15:16:48 +02:00 committed by GitHub
commit afcc0935ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ XMPPTCPConnectionConfiguration config = XMPPTCPConnectionConfiguration.builder()
.setPort(8222)
.build();
AbstractXMPPConnection conn2 = **new** XMPPTCPConnection(config);
AbstractXMPPConnection conn2 = new XMPPTCPConnection(config);
conn2.connect().login();
```