From 50dff7a63463481cd377f1a138292e88e2b64390 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Thu, 25 May 2017 08:53:11 -0700 Subject: [PATCH] tweaking wording on notice of restricted room --- appservice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appservice.py b/appservice.py index 21463ae..7f23c37 100644 --- a/appservice.py +++ b/appservice.py @@ -100,7 +100,7 @@ def on_receive_events(transaction): elif r.status_code == 401: txId += 1 err_notice = event["user_id"] + ": The pnut.io channel this room is connected with is restricted to valid " - err_notice += "pnut.io users only. Direct chat this bot to associate your account." + err_notice += "pnut.io users only. Start a direct chat to link your account." body = {'msgtype': 'm.notice', 'body': err_notice} url = app.config['MATRIX_HOST'] url += '/_matrix/client/r0/rooms/{0}/send/m.room.message/{1}'.format(event['room_id'], str(txId))