fix exception because in call view is shown twice for outgoing calls. (ios5)

This commit is contained in:
Simon Morlat 2011-10-28 21:30:41 +02:00
parent b9db786072
commit 4df63c37b5

View file

@ -137,9 +137,11 @@ extern void libmssilk_init();
break;
case LinphoneCallConnected:
[callDelegate displayIncallFromUI:mCurrentViewController
if (linphone_call_get_dir(currentCall)==LinphoneCallIncoming){
[callDelegate displayIncallFromUI:mCurrentViewController
forUser:lUserName
withDisplayName:lDisplayName];
}
break;
case LinphoneCallError: {