lizhen_gitee 1 gadu atpakaļ
vecāks
revīzija
9c016cc24f

+ 1 - 1
application/common/library/Easemob.php

@@ -19,7 +19,7 @@ class Easemob {
         $clientIdOrAppID              = $easemob_config['client_id'];
         $clientSecretOrAppCertificate = $easemob_config['client_secret'];
 
-        $this->auth = new Auth($appKey,$clientIdOrAppID,$clientSecretOrAppCertificate,2592000,true);
+        $this->auth = new Auth($appKey,$clientIdOrAppID,$clientSecretOrAppCertificate,2592000,false);
         $this->room = new Room($this->auth);
         $this->user = new User($this->auth);
     }

+ 1 - 1
vendor/maniac/easemob-php/src/Auth.php

@@ -120,7 +120,7 @@ final class Auth
         $clientIdOrAppID,
         $clientSecretOrAppCertificate,
         $expireTimeInSeconds = 2592000,
-        $isAgora = true,
+        $isAgora = false,
         $uuid = ''
         )
     {