nahid / talk

Talk is a real-time users messaging and chatting system for Laravel.
MIT License
1.61k stars 327 forks source link

Session not working in your project #57

Closed hamelraj89 closed 7 years ago

hamelraj89 commented 7 years ago

I have used your example project code and i saw you have used

protected $middleware = [
        \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
        \Illuminate\Session\Middleware\StartSession::class,
    ];

so when we use this project other session not working our project if we comment this startsession getting error trying to get non object so what is the best way to use session with your example project code ?? https://github.com/nahid/talk-example and if we install this our existing project we have to put \Illuminate\Session\Middleware\StartSession::class, line into kernal so i can't use session message .........

nahid commented 7 years ago

try v2.2.0