notify core when chat room is created instead of instantiated

This commit is contained in:
Benjamin Reis 2017-11-30 14:14:24 +01:00
parent d111d78f71
commit 7c2ce9d173

View file

@ -60,7 +60,8 @@ void ChatRoomPrivate::setState (ChatRoom::State newState) {
L_Q();
if (newState != state) {
state = newState;
if (state == ChatRoom::State::Instantiated)
if (state == ChatRoom::State::Created)
// TODO : Rename from instatiated to created.
linphone_core_notify_chat_room_instantiated(q->getCore()->getCCore(), L_GET_C_BACK_PTR(q));
notifyStateChanged();
}