Commit c74511d4 authored by Ghislain MARY's avatar Ghislain MARY

Fix initialization of capabilities in ClientGroupChatRoom.

parent 03853c8b
......@@ -184,8 +184,10 @@ ClientGroupChatRoom::ClientGroupChatRoom (
unsigned int lastNotifyId
) : ChatRoom(*new ClientGroupChatRoomPrivate, core, chatRoomId),
RemoteConference(core, me->getAddress(), nullptr) {
L_D_T(RemoteConference, dConference);
d->capabilities |= capabilities & ClientGroupChatRoom::Capabilities::OneToOne;
const IdentityAddress &peerAddress = chatRoomId.getPeerAddress();
dConference->focus = make_shared<Participant>(peerAddress);
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