forked from mirrors/linphone-iphone
fix(setChatMessageParticipantState): use commit on setChatMessageParticipantState
This commit is contained in:
parent
729a9f5cfb
commit
223b1244e7
1 changed files with 2 additions and 0 deletions
|
|
@ -2196,6 +2196,8 @@ void MainDb::setChatMessageParticipantState (
|
|||
*session << "UPDATE chat_message_participant SET state = :state"
|
||||
" WHERE event_id = :eventId AND participant_sip_address_id = :participantSipAddressId",
|
||||
soci::use(stateInt), soci::use(eventId), soci::use(participantSipAddressId);
|
||||
|
||||
tr.commit();
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue