From: Florian Zeitz <florob@babelmonkeys.de>
Date: Wed, 19 Dec 2012 20:54:21 +0000 (+0100)
Subject: Use -[asyncConnectAndHandle]
X-Git-Url: https://git.babelmonkeys.de/?a=commitdiff_plain;h=98d049c96498427d3b30e398adc9daedfdf44f09;p=jubjub.git

Use -[asyncConnectAndHandle]
---

diff --git a/src/core/main.m b/src/core/main.m
index 6b03d95..62393b2 100644
--- a/src/core/main.m
+++ b/src/core/main.m
@@ -28,8 +28,7 @@ OF_APPLICATION_DELEGATE(AppDelegate)
 	connection.username = @"alice";
 	connection.password = @"test";
 
-	[connection connect];
-	[connection handleConnection];
+	[connection asyncConnectAndHandle];
 
 	[connection addDelegate: rosterDelegate];