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
edd26b98
Commit
edd26b98
authored
Dec 21, 2017
by
Ronan
Browse files
fix(ClientGroupChatRoom): avoid conference created event insertion for the moment
parent
f1ad71b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/chat/chat-room/client-group-chat-room.cpp
src/chat/chat-room/client-group-chat-room.cpp
+5
-0
No files found.
src/chat/chat-room/client-group-chat-room.cpp
View file @
edd26b98
...
...
@@ -383,11 +383,16 @@ void ClientGroupChatRoom::onFirstNotifyReceived (const IdentityAddress &addr) {
d
->
setState
(
ChatRoom
::
State
::
Created
);
d
->
chatRoomListener
->
onChatRoomInsertInDatabaseRequested
(
getSharedFromThis
());
// TODO: Bug. Event is inserted many times.
// Avoid this in the future. Deal with signals/slots system.
#if 0
getCore()->getPrivate()->mainDb->addEvent(make_shared<ConferenceEvent>(
EventLog::Type::ConferenceCreated,
time(nullptr),
d->chatRoomId
));
#endif
}
void
ClientGroupChatRoom
::
onParticipantAdded
(
const
shared_ptr
<
ConferenceParticipantEvent
>
&
event
,
bool
isFullState
)
{
...
...
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