munafio / chatify

Laravel's #1 one-to-one chatting system package, helps you add a complete real-time chatting system to your new/existing Laravel application with only one command.
https://chatify.munafio.com
GNU General Public License v3.0
2.23k stars 473 forks source link

The User class inside MessagesController breaks when you have a different location. #308

Closed JeffGepiga closed 10 months ago

JeffGepiga commented 1 year ago

I have tried installing this package and encountered some issues because my User Class is in a different directory, and updating all the User:: to Auth::user() would fix it inside MessagesController.php

I hope this will be considered. Anyway, great package! Thank you

JeffGepiga commented 12 months ago

added a PR https://github.com/munafio/chatify/pull/310 for this

munafio commented 10 months ago

@JeffGepiga Basically, you can change the namespace to resolve this issue at MessagesController.php And you need to publish the controllers first, and this one explained in the docs.