From c74511d47826c63a44ad4f8c5b63ba2b353f5e79 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Tue, 30 Jan 2018 10:57:10 +0100 Subject: [PATCH] Fix initialization of capabilities in ClientGroupChatRoom. --- src/chat/chat-room/client-group-chat-room.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/chat/chat-room/client-group-chat-room.cpp b/src/chat/chat-room/client-group-chat-room.cpp index 71ec0cd91..c6d459cd7 100644 --- a/src/chat/chat-room/client-group-chat-room.cpp +++ b/src/chat/chat-room/client-group-chat-room.cpp @@ -184,8 +184,10 @@ ClientGroupChatRoom::ClientGroupChatRoom ( unsigned int lastNotifyId ) : ChatRoom(*new ClientGroupChatRoomPrivate, core, chatRoomId), RemoteConference(core, me->getAddress(), nullptr) { + L_D(); L_D_T(RemoteConference, dConference); + d->capabilities |= capabilities & ClientGroupChatRoom::Capabilities::OneToOne; const IdentityAddress &peerAddress = chatRoomId.getPeerAddress(); dConference->focus = make_shared(peerAddress); dConference->focus->getPrivate()->addDevice(peerAddress);