forked from mirrors/linphone-iphone
Fix wrong statement being used in main db.
This commit is contained in:
parent
714fb3656d
commit
7c239c8ec4
1 changed files with 1 additions and 1 deletions
|
|
@ -467,7 +467,7 @@ long long MainDbPrivate::selectOneToOneChatRoomId (long long sipAddressIdA, long
|
|||
long long id;
|
||||
|
||||
soci::session *session = dbSession.getBackendSession();
|
||||
*session << Statements::get(Statements::SelectChatRoomParticipantId, q->getBackend()),
|
||||
*session << Statements::get(Statements::SelectOneToOneChatRoomId, q->getBackend()),
|
||||
soci::use(sipAddressIdA), soci::use(sipAddressIdB), soci::use(sipAddressIdA), soci::use(sipAddressIdB),
|
||||
soci::into(id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue