mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Fix creation of ChatMessage from history if id is null
This commit is contained in:
parent
83e8d95af5
commit
1e285da959
1 changed files with 3 additions and 1 deletions
|
|
@ -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]) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue