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
1e285da9
Commit
1e285da9
authored
Oct 02, 2017
by
Sylvain Berfini
🎩
Browse files
Fix creation of ChatMessage from history if id is null
parent
83e8d95a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/chat/chat-room.cpp
src/chat/chat-room.cpp
+3
-1
No files found.
src/chat/chat-room.cpp
View file @
1e285da9
...
...
@@ -297,7 +297,9 @@ int ChatRoomPrivate::createChatMessageFromDb (int argc, char **argv, char **colN
if
(
argv
[
10
])
{
message
->
setAppdata
(
argv
[
10
]);
}
message
->
setId
(
argv
[
12
]);
if
(
argv
[
12
])
{
message
->
setId
(
argv
[
12
]);
}
message
->
setIsSecured
((
bool
)
atoi
(
argv
[
14
]));
if
(
argv
[
11
])
{
...
...
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