simplify the body text to just the url

This commit is contained in:
Morgan McMillian 2017-05-03 07:36:38 -07:00
parent f3ca3a1201
commit bcae50b385

View file

@ -61,7 +61,7 @@ def on_receive_events(transaction):
else: else:
token = app.config['MATRIX_PNUT_TOKEN'] token = app.config['MATRIX_PNUT_TOKEN']
text = "[" + get_displayname(event["user_id"]) + "] " text = "[" + get_displayname(event["user_id"]) + "] "
text += event['content']['body'] + " : " + imgurl text += imgurl
else: else:
text = None text = None