49107199@qq.com %!s(int64=3) %!d(string=hai) anos
pai
achega
8d2ef3e5d2
Modificáronse 1 ficheiros con 1 adicións e 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{