yet another dumb typo

This commit is contained in:
Morgan McMillian 2017-05-02 22:50:33 -07:00
parent 81bd7d77fc
commit 7b8e7d946c

View file

@ -41,7 +41,7 @@ def on_receive_events(transaction):
token = app.config['MATRIX_PNUT_TOKEN']
text = "* " + get_displayname(event["user_id"]) + " " + event['content']['body']
elif event['content']['msgtype'] == 'm.image':
imgurl = app.config['MATRIX_HOST'] + '/_matrix/media/r0/download/' + jevent['content']['url'][6:]
imgurl = app.config['MATRIX_HOST'] + '/_matrix/media/r0/download/' + event['content']['url'][6:]
if user:
token = user.pnut_token
text = ""