From 08e73ec2d9ff4a871065184f37b429eb8edf1bec Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Fri, 23 May 2014 09:30:42 +0200 Subject: [PATCH] Inverted chat bubbles fix, take 2 --- 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 4baff3232..0ba26df5c 100644 --- a/Classes/LinphoneUI/UIChatRoomCell.m +++ b/Classes/LinphoneUI/UIChatRoomCell.m @@ -263,7 +263,7 @@ static UIFont *CELL_FONT = nil; CGRect innerFrame; BOOL is_outgoing = linphone_chat_message_is_outgoing(chat); innerFrame.size = [UIChatRoomCell viewSize:chat width:[self frame].size.width]; - if(is_outgoing) { // Inverted + if(!is_outgoing) { // Inverted innerFrame.origin.x = 0.0f; innerFrame.origin.y = 0.0f; } else {