1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 15:52:06 +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) .setPort(8222)
.build(); .build();
AbstractXMPPConnection conn2 = **new** XMPPTCPConnection(config); AbstractXMPPConnection conn2 = new XMPPTCPConnection(config);
conn2.connect().login(); conn2.connect().login();
``` ```