From e7cd7f07612332917c4e59c00cdc75f09813604c Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Fri, 23 May 2014 09:19:17 +0200 Subject: [PATCH] Fix the inverted chat bubbles --- Classes/LinphoneUI/UIChatRoomCell.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/LinphoneUI/UIChatRoomCell.m b/Classes/LinphoneUI/UIChatRoomCell.m index 99a40eb36..4baff3232 100644 --- a/Classes/LinphoneUI/UIChatRoomCell.m +++ b/Classes/LinphoneUI/UIChatRoomCell.m @@ -274,7 +274,7 @@ static UIFont *CELL_FONT = nil; CGRect messageFrame = [bubbleView frame]; messageFrame.origin.y = ([innerView frame].size.height - messageFrame.size.height)/2; - if(is_outgoing) { // Inverted + if(!is_outgoing) { // Inverted [backgroundImage setImage:[TUNinePatchCache imageOfSize:[backgroundImage bounds].size forNinePatchNamed:@"chat_bubble_incoming"]]; messageFrame.origin.y += 5;