mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-25 23:28:09 +00:00
fix(chat-room): avoid recursive call
This commit is contained in:
parent
e401903ea3
commit
98e5be44d1
1 changed files with 0 additions and 2 deletions
|
|
@ -246,8 +246,6 @@ void ChatRoomPrivate::onChatMessageReceived (const shared_ptr<ChatMessage> &chat
|
|||
|
||||
ContentType contentType = chatMessage->getPrivate()->getContentType();
|
||||
if (contentType != ContentType::Imdn && contentType != ContentType::ImIsComposing) {
|
||||
onChatMessageReceived(chatMessage);
|
||||
|
||||
LinphoneChatRoom *chatRoom = L_GET_C_BACK_PTR(q);
|
||||
LinphoneChatRoomCbs *cbs = linphone_chat_room_get_callbacks(chatRoom);
|
||||
LinphoneChatRoomCbsParticipantAddedCb cb = linphone_chat_room_cbs_get_chat_message_received(cbs);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue