49107199@qq.com 3 tahun lalu
induk
melakukan
8d2ef3e5d2
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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{