Commit e8da88c5 authored by Ghislain MARY's avatar Ghislain MARY

Remove call session listener when destroying client group chat room.

parent b9c2b8c9
......@@ -208,6 +208,11 @@ RemoteConference(core, me->getAddress(), nullptr) {
dConference->eventHandler->subscribe(getChatRoomId());
}
ClientGroupChatRoom::~ClientGroupChatRoom () {
L_D();
d->setCallSessionListener(nullptr);
}
shared_ptr<Core> ClientGroupChatRoom::getCore () const {
return ChatRoom::getCore();
}
......
......@@ -55,6 +55,8 @@ public:
unsigned int lastNotifyId
);
~ClientGroupChatRoom ();
std::shared_ptr<Core> getCore () const;
void allowCpim (bool value) override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment