wee-matter: Fix paths in websocket URL v1 APPLIED

~midgard: 1
 Fix paths in websocket URL

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~reedwade/wee-matter-devel/patches/20330/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH wee-matter] Fix paths in websocket URL Export this patch

I didn't experience any problems myself since I don't have Mattermost
servers on subpaths, but I discovered this while reading the source.

 wee_matter/websocket.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wee_matter/websocket.py b/wee_matter/websocket.py
index b60c844..1de1884 100644
--- a/wee_matter/websocket.py
+++ b/wee_matter/websocket.py
@@ -27,7 +27,7 @@ def server_root_url(server):

    root_url = "{}://{}:{}".format(protocol, server.host, server.port)
    if server.path:
        root_url += "/{}".format(server.port)
        root_url += "/{}".format(server.path)

    return root_url

Eddie Barraco
Nice catch ! Thanks

To git.sr.ht:~reedwade/wee-matter
   67475b9..2215581  2215581 -> master