sdelements / lets-chat

Self-hosted chat app for small teams
http://sdelements.github.io/lets-chat
MIT License
9.76k stars 1.58k forks source link

Server crash with non-existing user getting deleted #663

Open pathetiq opened 8 years ago

pathetiq commented 8 years ago

Hey guys,

One use case that will technically never happen. If you delete a user from the database and this user is logged and connected and at the same time you delete this particular user and he a message in a room, the server will crash as it cannot handle a non-existing user.

No priority here, just thought it was worth reporting :)

hhaidar commented 8 years ago

:boat: