From e0c46d1ba7addc3f4c2b6344c2a5573fe1d3c02c Mon Sep 17 00:00:00 2001 From: Pierre-Eric Pelloux-Prayer Date: Tue, 27 Mar 2012 15:23:43 +0200 Subject: [PATCH] Call history: differentiate audio only/video calls --- Classes/CallHistoryTableViewController.m | 4 ++-- submodules/linphone | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/CallHistoryTableViewController.m b/Classes/CallHistoryTableViewController.m index 60d438d9b..1a06c1661 100644 --- a/Classes/CallHistoryTableViewController.m +++ b/Classes/CallHistoryTableViewController.m @@ -147,12 +147,12 @@ const char* displayName = linphone_address_get_display_name(partyToDisplay); if (displayName) { - NSString* str1 = [NSString stringWithCString:displayName encoding:[NSString defaultCStringEncoding]]; + NSString* str1 = [NSString stringWithFormat:@"%s%s", displayName, callLogs->video_enabled?" (video)":""]; [cell.textLabel setText:str1]; NSString* str2 = [NSString stringWithFormat:@"%s"/* [%s]"*/,username/*,callLogs->start_date*/]; [cell.detailTextLabel setText:str2]; } else { - NSString* str1 = [NSString stringWithCString:username encoding:[NSString defaultCStringEncoding]]; + NSString* str1 = [NSString stringWithFormat:@"%s%s", username, callLogs->video_enabled?" (video)":""]; [cell.textLabel setText:str1]; [cell.detailTextLabel setText:nil]; } diff --git a/submodules/linphone b/submodules/linphone index 83b2a2875..9a21860f4 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 83b2a28753afd37e10fa3e863758170c034a24b3 +Subproject commit 9a21860f49a6c4c52f5aafbcba84cf960d94b400