torhve / weechat-matrix-protocol-script

A WeeChat script in Lua that implements the matrix.org chat protocol
349 stars 52 forks source link

matrix.lua: work through an HTTPS proxy #123

Open srwalter opened 5 years ago

srwalter commented 5 years ago

Going through an HTTPS proxy seems to add an extra empty line in the response that was throwing off this regular expression. Make sure we actually find the JSON payload of the response.