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