Open baig772 opened 7 years ago
Please update talk config with latest version
I already did. But still I have to refresh the page
Which version of Talk are you using? Please share your Talk config.
<?php return [ 'user' => [ 'model' => 'App\User', ], 'broadcast' => [ 'enable' => true, 'app_name' => 'heroic-salute-582', 'pusher' => [ 'app_id' => env('PUSHER_APP_ID'), 'app_key' => env('PUSHER_KEY'), 'app_secret' => env('PUSHER_SECRET'), 'options' => [ 'cluster' => 'ap1', 'encrypted' => true ] ], ], ];
Which version of Talk are you using?
"nahid/talk": "^2.0",
Please update it with version v2.2.1
Hi, Mr. Nahid, I have used 2.3 but still the same issue and one more issue in below code
when Print $threads in controller its show data but in view its show undefined variable public function __construct() { Auth::user()->id $this->middleware(['auth','verified','talk']); Talk::setAuthUserId(Auth::user()->id);
View::composer('user.message.partials.peoplelist', function($view){
$threads = Talk::threads();
$view->with(compact($threads));
});
}
can you please help me
Hello @nahid , I am re-opening this issue. I have to refresh my page to get new messages. Please look into this