diff --git a/pnut-matrix.py b/pnut-matrix.py index a631068..e59a5e4 100644 --- a/pnut-matrix.py +++ b/pnut-matrix.py @@ -306,8 +306,7 @@ if __name__ == '__main__': with open("config.yaml", "rb") as config_file: config = yaml.load(config_file) - # ws_url = 'wss://stream.pnut.io/v0/app?access_token=' - ws_url = 'ws://192.168.1.200:9001/?' + ws_url = 'wss://stream.pnut.io/v0/app?access_token=' ws_url += config['PNUT_APPTOKEN'] + '&key=' + config['PNUT_APPKEY'] ws_url += '&include_raw=1' matrix_url = config['MATRIX_HOST'] + '/_matrix/client/r0'