Commit 1e2f75c8 authored by Benjamin REIS's avatar Benjamin REIS

add a device to the focus when creating a chat room from the db

parent 1614e6c1
......@@ -147,6 +147,7 @@ RemoteConference(core, me->getAddress(), nullptr) {
const IdentityAddress &peerAddress = chatRoomId.getPeerAddress();
dConference->focus = make_shared<Participant>(peerAddress);
dConference->focus->getPrivate()->addDevice(peerAddress);
dConference->conferenceAddress = peerAddress;
dConference->subject = subject;
dConference->participants = move(participants);
......
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