diff --git a/Classes/LinphoneUI/Base.lproj/UIChatCell.xib b/Classes/LinphoneUI/Base.lproj/UIChatCell.xib index 122bdeca0..ea61f9e49 100644 --- a/Classes/LinphoneUI/Base.lproj/UIChatCell.xib +++ b/Classes/LinphoneUI/Base.lproj/UIChatCell.xib @@ -1,9 +1,9 @@ - + - + @@ -13,6 +13,7 @@ + @@ -85,6 +86,10 @@ + @@ -95,6 +100,7 @@ + diff --git a/Classes/LinphoneUI/UIChatCell.h b/Classes/LinphoneUI/UIChatCell.h index ba1cf6742..d5d0327b9 100644 --- a/Classes/LinphoneUI/UIChatCell.h +++ b/Classes/LinphoneUI/UIChatCell.h @@ -37,6 +37,7 @@ @property(weak, nonatomic) IBOutlet UIBouncingView *unreadCountView; @property(weak, nonatomic) IBOutlet UILabel *unreadCountLabel; @property (weak, nonatomic) IBOutlet UIImageView *imdmIcon; +@property (weak, nonatomic) IBOutlet UIImageView *ephemeral; - (id)initWithIdentifier:(NSString*)identifier; diff --git a/Classes/LinphoneUI/UIChatCell.m b/Classes/LinphoneUI/UIChatCell.m index 2aa17198a..299898dbf 100644 --- a/Classes/LinphoneUI/UIChatCell.m +++ b/Classes/LinphoneUI/UIChatCell.m @@ -148,6 +148,7 @@ _chatContentLabel.text = nil; [self updateUnreadBadge]; + _ephemeral.hidden = !linphone_chat_room_ephemeral_enabled(chatRoom); } - (void)updateUnreadBadge {