From 1e2f75c8294ba4e3b453d092a4f103c7d31e920c Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Mon, 11 Dec 2017 15:02:54 +0100 Subject: [PATCH] add a device to the focus when creating a chat room from the db --- src/chat/chat-room/client-group-chat-room.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/chat/chat-room/client-group-chat-room.cpp b/src/chat/chat-room/client-group-chat-room.cpp index 9a0832fdc..309782419 100644 --- a/src/chat/chat-room/client-group-chat-room.cpp +++ b/src/chat/chat-room/client-group-chat-room.cpp @@ -147,6 +147,7 @@ RemoteConference(core, me->getAddress(), nullptr) { const IdentityAddress &peerAddress = chatRoomId.getPeerAddress(); dConference->focus = make_shared(peerAddress); + dConference->focus->getPrivate()->addDevice(peerAddress); dConference->conferenceAddress = peerAddress; dConference->subject = subject; dConference->participants = move(participants);