Эх сурвалжийг харах

群聊过滤撤回得消息

renjiaojiao 2 жил өмнө
parent
commit
0ad966c710

+ 1 - 0
.idea/workspace.xml

@@ -5,6 +5,7 @@
   </component>
   <component name="ChangeListManager">
     <list default="true" id="f5220264-ecf0-4305-ada3-6105184077a7" name="Changes" comment="提交">
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/service/message_mail_box.go" beforeDir="false" afterPath="$PROJECT_DIR$/service/message_mail_box.go" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />

+ 1 - 1
service/message_mail_box.go

@@ -647,7 +647,7 @@ func (b MessaggeService) FindMessage(in *messagecenter.MessageReq) *[]map[string
 			"IF ( a.own_id = a.send_user_id, 0, a.send_user_id ) AS send_position_id,"+
 			"a.send_user_type,a.type AS itemType FROM %s a "+
 			"LEFT JOIN %s b ON a.messag_id = b.id "+
-			"WHERE a.own_type = 2 AND a.own_id = %d "+
+			"WHERE a.own_type = 2  and a.iswithdraw = 0 AND a.own_id = %d "+
 			"AND a.chat_group_id = %d AND a.type IN ( 3, 6 )  %s "+
 			"ORDER BY a.create_time desc,a.id DESC "+
 			"LIMIT 0, %d",