Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblinphone
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
10
Issues
10
List
Board
Labels
Milestones
Merge Requests
22
Merge Requests
22
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
liblinphone
Commits
30b270f2
Commit
30b270f2
authored
Mar 07, 2018
by
Ronan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(MainDb): avoid old c-style cast
parent
58e0b47a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
main-db.cpp
src/db/main-db.cpp
+1
-1
No files found.
src/db/main-db.cpp
View file @
30b270f2
...
...
@@ -601,7 +601,7 @@ shared_ptr<EventLog> MainDbPrivate::selectConferenceChatMessageEvent (
chatMessage
->
setIsSecured
(
bool
(
row
.
get
<
int
>
(
9
)));
ChatMessagePrivate
*
dChatMessage
=
chatMessage
->
getPrivate
();
ChatMessage
::
State
messageState
=
(
ChatMessage
::
State
)
row
.
get
<
int
>
(
7
);
ChatMessage
::
State
messageState
=
ChatMessage
::
State
(
row
.
get
<
int
>
(
7
)
);
// This is necessary if linphone has crashed while sending a message. It will set the correct state so the user can resend it.
if
(
messageState
==
ChatMessage
::
State
::
Idle
||
messageState
==
ChatMessage
::
State
::
InProgress
)
messageState
=
ChatMessage
::
State
::
NotDelivered
;
...
...
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