mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-22 23:48:36 +00:00
fix(MainDb): set a default value if subject is empty on get chat rooms
This commit is contained in:
parent
08bff790a6
commit
a76f869d66
1 changed files with 1 additions and 1 deletions
|
|
@ -1990,7 +1990,7 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
|
|||
tm creationTime = row.get<tm>(3);
|
||||
tm lastUpdateTime = row.get<tm>(4);
|
||||
int capabilities = row.get<int>(5);
|
||||
string subject = row.get<string>(6);
|
||||
string subject = row.get<string>(6, "");
|
||||
unsigned int lastNotifyId = (getBackend() == Backend::Mysql)
|
||||
? row.get<unsigned int>(7, 0)
|
||||
: static_cast<unsigned int>(row.get<int>(7, 0));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue