Commit 7c239c8e authored by Ghislain MARY's avatar Ghislain MARY

Fix wrong statement being used in main db.

parent 714fb365
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment