I fixed the invite button for the following issues
You can add people to a channel when you are not currently in that channel
Doesn't check if the user exists before adding them
You can add users multiple times because it does not check if the user is already in the channel before adding them
No test files
I fixed the invite button for the following issues
You can add people to a channel when you are not currently in that channel Doesn't check if the user exists before adding them You can add users multiple times because it does not check if the user is already in the channel before adding them No test files
And I added test files