Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
1e2f75c8
Commit
1e2f75c8
authored
Dec 11, 2017
by
Benjamin REIS
Browse files
add a device to the focus when creating a chat room from the db
parent
1614e6c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/chat/chat-room/client-group-chat-room.cpp
src/chat/chat-room/client-group-chat-room.cpp
+1
-0
No files found.
src/chat/chat-room/client-group-chat-room.cpp
View file @
1e2f75c8
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment