1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 16:07:34 +02:00

Fix private channel auth

This commit is contained in:
Toby Zerner
2015-11-03 15:29:11 +10:30
parent 9c9cadb8c2
commit 5e873562f9

View File

@@ -43,9 +43,9 @@ class AuthController implements ControllerInterface
if (array_get($body, 'channel_name') === $userChannel) {
$pusher = new Pusher(
$this->settings->get('pusher.app_key'),
$this->settings->get('pusher.app_secret'),
$this->settings->get('pusher.app_id')
$this->settings->get('flarum-pusher.app_key'),
$this->settings->get('flarum-pusher.app_secret'),
$this->settings->get('flarum-pusher.app_id')
);
$payload = json_decode($pusher->socket_auth($userChannel, array_get($body, 'socket_id')), true);