Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private chat and load chat history from database #26

Open
shahzadthathal opened this issue Sep 29, 2018 · 1 comment
Open

Private chat and load chat history from database #26

shahzadthathal opened this issue Sep 29, 2018 · 1 comment
Assignees
Labels
possible feature Have to sleep over it

Comments

@shahzadthathal
Copy link

Hi,

Great work.

Is it possible to make a private chat room and when user reload the page chat history load from the database?

Thanks

@johnnymast
Copy link
Owner

Yes if you enable the database in config.php you could show chat history in the chat. However every time you reload a page a new random user is created so it would not make sence. You should first make the user not random and then load the chat history from the database. This will not be hard to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible feature Have to sleep over it
Projects
None yet
Development

No branches or pull requests

2 participants