Commit acd0e0e2 by 罗长华

修复陌生人场景下重复创建会话的bug

parent 66cb87d0
......@@ -87,7 +87,7 @@
on con.id = mem1.fk_conversation_id and mem1.fk_client_id = #{clientId1}
inner join im_conversation_members mem2
on con.id = mem2.fk_conversation_id and mem2.fk_client_id = #{clientId2}
where con.chat_type = 1
where con.chat_type in (1, 5)
and con.member_count = 2
order by con.id asc
LIMIT 1
......
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