simplify the body text to just the url
This commit is contained in:
parent
f3ca3a1201
commit
bcae50b385
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue