49107199@qq.com 3 năm trước cách đây
mục cha
commit
8d2ef3e5d2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/api/imsocket/imsocket.php

+ 1 - 1
app/api/imsocket/imsocket.php

@@ -155,7 +155,7 @@ class imsocket extends Server
                     $temML['to_user_id']= $row['to_user_id'];
                     $temML['message']= $row['message'];
                     $temML['sendtime']= $row['sendtime'];
-                    if($row['is_push']==1){
+                    if($row['is_push']==1 && $row['to_user_id']==$from_user_id){
                         if(empty($push_id)){
                             $push_id=$row['id'];
                         }else{