diff --git a/Classes/ChatConversationImdnView.m b/Classes/ChatConversationImdnView.m index 522098fd7..6e87d487e 100644 --- a/Classes/ChatConversationImdnView.m +++ b/Classes/ChatConversationImdnView.m @@ -70,7 +70,7 @@ static UICompositeViewDescription *compositeDescription = nil; } - (void)updateImdnList { - if (_msg) { + if (_msg && linphone_chat_message_get_chat_room(_msg)) { _displayedList = linphone_chat_message_get_participants_by_imdn_state(_msg, LinphoneChatMessageStateDisplayed); _receivedList = linphone_chat_message_get_participants_by_imdn_state(_msg, LinphoneChatMessageStateDeliveredToUser); _notReceivedList = linphone_chat_message_get_participants_by_imdn_state(_msg, LinphoneChatMessageStateDelivered);