Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Removed encode("utf-8") from websocket authentication #111

Merged
merged 1 commit into from
Jan 21, 2022

Conversation

iprok
Copy link
Contributor

@iprok iprok commented Jan 14, 2022

Fixes compatibility with Mattermost 6.3.0

Without this I was getting 1006 error when calling init_websocket after upgrade to mattermost 6.3.0

Fixes compatibility with Mattermost 6.3.0
@ttuffin
Copy link
Contributor

ttuffin commented Jan 18, 2022

Hi @Vaelor, are you able to take a look at this PR please? Looks like a change to Mattermost's websocket handling in 6.3.0 broke the authentication method. This PR resolved the issue for me also.

@tgly307
Copy link

tgly307 commented Jan 19, 2022

I have a question, will this change affect the previous mm server version?

@ttuffin
Copy link
Contributor

ttuffin commented Jan 19, 2022

I have not had any issues when testing this change against MM 5.26.0, which also uses API v4. It may break for API v3, but since it has been deprecated since 2018 I don't think it's a blocker.

@Vaelor
Copy link
Owner

Vaelor commented Jan 21, 2022

Thanks for finding this. I checked with Version 6, and it works there too. APIv3 isn't supported anymore anyway by this repository.

@Vaelor Vaelor merged commit 74eec07 into Vaelor:master Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants