Skip to content
This repository was archived by the owner on Oct 24, 2018. It is now read-only.

Allow custom homeserver port#53

Open
stonewareslord wants to merge 1 commit intovijfhoek:masterfrom
stonewareslord:feature/custom-port
Open

Allow custom homeserver port#53
stonewareslord wants to merge 1 commit intovijfhoek:masterfrom
stonewareslord:feature/custom-port

Conversation

@stonewareslord
Copy link
Contributor

This commit should allow the Matrix homeserver to run on any port. Instead of splitting by : and getting the last index, it just checks the end against MATRIX_HOST_BARE.

For example, if the server is 'matrix.example.com:8448'.split(':') is 8448 and the comparison always fails.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant