diff --git a/Classes/ChatsListTableView.m b/Classes/ChatsListTableView.m index fdb622216..21d1d0d66 100644 --- a/Classes/ChatsListTableView.m +++ b/Classes/ChatsListTableView.m @@ -152,6 +152,11 @@ static void chatTable_free_chatrooms(void *data) { LinphoneChatRoom *chatRoom = (LinphoneChatRoom *)ms_list_nth_data(data, (int)[indexPath row]); ChatConversationView *view = VIEW(ChatConversationView); [view setChatRoom:chatRoom]; + // on iPad, force unread bubble to disappear by reloading the cell + if (IPAD) { + UIChatCell *cell = [tableView cellForRowAtIndexPath:indexPath]; + [cell updateUnreadBadge]; + } [PhoneMainView.instance changeCurrentView:view.compositeViewDescription push:TRUE]; } } diff --git a/Classes/LinphoneUI/Base.lproj/UIChatCell.xib b/Classes/LinphoneUI/Base.lproj/UIChatCell.xib index 4f89590d7..a9bdae0cc 100644 --- a/Classes/LinphoneUI/Base.lproj/UIChatCell.xib +++ b/Classes/LinphoneUI/Base.lproj/UIChatCell.xib @@ -50,7 +50,7 @@