49107199@qq.com hace 3 años
padre
commit
8d2ef3e5d2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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{