From bcae50b385629604110887d3e87d66e895b3551c Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Wed, 3 May 2017 07:36:38 -0700 Subject: [PATCH] simplify the body text to just the url --- appservice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appservice.py b/appservice.py index 7dc9049..721c18d 100644 --- a/appservice.py +++ b/appservice.py @@ -61,7 +61,7 @@ def on_receive_events(transaction): else: token = app.config['MATRIX_PNUT_TOKEN'] text = "[" + get_displayname(event["user_id"]) + "] " - text += event['content']['body'] + " : " + imgurl + text += imgurl else: text = None