...
 
Commits (1)
......@@ -211,12 +211,14 @@ void ServerGroupChatRoomPrivate::requestDeletion(){
lError() << q << " still " << registrationSubscriptions.size() << " registration subscriptions pending while deletion is requested.";
}
chatRoomListener->onChatRoomDeleteRequested(q->getSharedFromThis());
#if 0
/*
* The LinphoneChatRoom (C object) is also built when the ServerGroupChatRoom is created, which is unnecessary here, but
* this is consistent with other kind of chatrooms. Consequence is that we have to free it in order to remove the last reference
* to the C++ object. */
LinphoneChatRoom * cChatRoom = L_GET_C_BACK_PTR(q);
if (cChatRoom) linphone_chat_room_unref(cChatRoom);
#endif
}
/*
......