nahid / talk

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

Creating a new conversation #36

Closed newbielinuxuser closed 7 years ago

newbielinuxuser commented 7 years ago

So how do we create a new conversation if the conversation doesn't exist ?

nahid commented 7 years ago

Just send a message Talk::sendMessageByUserId($userId, $message). This system will automatically create a new conversation among this users.

newbielinuxuser commented 7 years ago

@nahid alright, thanks! btw, what about the live chat? cuz i don't see it's running pusher after sending messages I installed this via 'composer require nahid/talk' in my laravel 5.2 projects, is the master branch are in sync with composer packages?

nahid commented 7 years ago

I'll release it in next version. If you want to work with it you may run composer install --prefer-source nahid/talk