JohnXLivingston / peertube-plugin-livechat

GNU Affero General Public License v3.0
86 stars 26 forks source link

Is deleted user case correctly handled? #432

Open JohnXLivingston opened 1 week ago

JohnXLivingston commented 1 week ago

Describe the bug

There are some parts of the code where we check if user exists, and if !user.blocked to give access. For example to validate connection to the chat.

But maybe we should also check if user was deleted. I have to check if in such case the user is defined.