K
K
Kirill Alekseev2019-02-16 10:38:32
Laravel
Kirill Alekseev, 2019-02-16 10:38:32

How to change user information in laravel-echo-server?

I am using laravel-echo-server for website chats. To store user information (nickname, color, ban status, rights), I use Presence channels with data storage in Redis. The data is assigned to the user during the first connection using a separate authorization route.
Question: how to change these same data? The only thing I have thought of so far is to reconnect the user every time his data changes, but this, to put it mildly, is not very convenient.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question