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
fb8d255b
Commit
fb8d255b
authored
Dec 22, 2017
by
Ronan
Browse files
feat(CoreChatRoom): do not create BasicToClientGroupChatRoom if not factory uri configured
parent
5a9d0dfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/core/core-chat-room.cpp
src/core/core-chat-room.cpp
+4
-1
No files found.
src/core/core-chat-room.cpp
View file @
fb8d255b
...
...
@@ -74,7 +74,10 @@ shared_ptr<AbstractChatRoom> CorePrivate::createBasicChatRoom (
chatRoom
.
reset
(
new
RealTimeTextChatRoom
(
q
->
getSharedFromThis
(),
chatRoomId
));
else
{
BasicChatRoom
*
basicChatRoom
=
new
BasicChatRoom
(
q
->
getSharedFromThis
(),
chatRoomId
);
if
(
capabilities
&
ChatRoom
::
Capabilities
::
Migratable
)
if
(
capabilities
&
ChatRoom
::
Capabilities
::
Migratable
&&
linphone_core_get_conference_factory_uri
(
q
->
getCCore
())
)
chatRoom
.
reset
(
new
BasicToClientGroupChatRoom
(
shared_ptr
<
BasicChatRoom
>
(
basicChatRoom
)));
else
chatRoom
.
reset
(
basicChatRoom
);
...
...
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