diff --git a/Classes/LinphoneUI/Base.lproj/UIChatBubbleTextCell.xib b/Classes/LinphoneUI/Base.lproj/UIChatBubbleTextCell.xib index 4d7e89297..61c207140 100644 --- a/Classes/LinphoneUI/Base.lproj/UIChatBubbleTextCell.xib +++ b/Classes/LinphoneUI/Base.lproj/UIChatBubbleTextCell.xib @@ -1,11 +1,11 @@ - - + + - + @@ -17,6 +17,8 @@ + + @@ -32,11 +34,33 @@ - + - - + + + + + + + + + + + + + + + + + @@ -105,7 +129,7 @@ - + @@ -114,10 +138,6 @@ + - - - - - diff --git a/Classes/LinphoneUI/StatusBarView.m b/Classes/LinphoneUI/StatusBarView.m index c68bdbd2f..bdccd0896 100644 --- a/Classes/LinphoneUI/StatusBarView.m +++ b/Classes/LinphoneUI/StatusBarView.m @@ -137,13 +137,14 @@ (linphone_content_get_buffer(content) == NULL)) { return; } - const char *body = linphone_content_get_buffer(content); + uint8_t *bodyTmp = linphone_content_get_buffer(content); + const char *body = (const char *)bodyTmp; if ((body = strstr(body, "voice-message: ")) == NULL) { LOGW(@"Received new NOTIFY from voice mail but could not find 'voice-message' in BODY. Ignoring it."); return; } - sscanf(body, "voice-message: %d", &messagesUnreadCount); + sscanf((const char *)body, "voice-message: %d", &messagesUnreadCount); LOGI(@"Received new NOTIFY from voice mail: there is/are now %d message(s) unread", messagesUnreadCount); diff --git a/Classes/LinphoneUI/UIChatBubbleTextCell.h b/Classes/LinphoneUI/UIChatBubbleTextCell.h index 9c3d71762..2a76dc620 100644 --- a/Classes/LinphoneUI/UIChatBubbleTextCell.h +++ b/Classes/LinphoneUI/UIChatBubbleTextCell.h @@ -39,6 +39,8 @@ @property(weak, nonatomic) IBOutlet UIImageView *LIMEKO; @property(weak, nonatomic) IBOutlet UIImageView *imdmIcon; @property(weak, nonatomic) IBOutlet UILabel *imdmLabel; +@property (weak, nonatomic) IBOutlet UILabel *eventContactDateLabel; +@property (weak, nonatomic) IBOutlet UIView *eventView; + (CGSize)ViewSizeForMessage:(LinphoneChatMessage *)chat withWidth:(int)width; diff --git a/submodules/linphone b/submodules/linphone index 894391c13..44507caa7 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 894391c13b676093b126ccf47a4965c0fe00b720 +Subproject commit 44507caa790ac657cd0d557de27bdff994a7e584