forked from mirrors/linphone-iphone
fix(MainDb): set flags to 1 when chat room is terminated
This commit is contained in:
parent
8b7f6ef64c
commit
397dbc39fb
1 changed files with 1 additions and 1 deletions
|
|
@ -633,7 +633,7 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
|
|||
soci::use(curChatRoomId);
|
||||
|
||||
if (eventLog->getType() == EventLog::Type::ConferenceTerminated)
|
||||
*session << "UPDATE chat_room SET flags = 0 WHERE id = :chatRoomId", soci::use(curChatRoomId);
|
||||
*session << "UPDATE chat_room SET flags = 1 WHERE id = :chatRoomId", soci::use(curChatRoomId);
|
||||
}
|
||||
|
||||
if (chatRoomId)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue