Skid-Team-6 / Omnichat

An example chat site using the Omni messaging system https://github.com/Skid-Team-6/Omni
MIT License
0 stars 0 forks source link

Things break when a user disconnects #2

Closed ApexDevelopment closed 1 year ago

ApexDevelopment commented 1 year ago

When a user disconnects, their user data totally vanishes from everywhere, which means their old messages will not display when users load messages in a channel. We need to save users' information (especially username) in a cache both clientside and serverside so that their info can still be queried/indexed when needed.