From 98d049c96498427d3b30e398adc9daedfdf44f09 Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Wed, 19 Dec 2012 21:54:21 +0100 Subject: [PATCH] Use -[asyncConnectAndHandle] --- src/core/main.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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]; -- 2.39.5