Fix tiny mistake
This commit is contained in:
parent
995f0a6e3d
commit
7cfac1504c
@ -445,7 +445,6 @@ async def aiotg_photo(chat, photo):
|
|||||||
'w': photo[-1]['width']}
|
'w': photo[-1]['width']}
|
||||||
body = 'Image_{}.jpg'.format(int(time() * 1000))
|
body = 'Image_{}.jpg'.format(int(time() * 1000))
|
||||||
|
|
||||||
pprint(chat.message)
|
|
||||||
if uri:
|
if uri:
|
||||||
j = await send_matrix_message(room_id, user_id, txn_id, body=body,
|
j = await send_matrix_message(room_id, user_id, txn_id, body=body,
|
||||||
url=uri, info=info, msgtype='m.image')
|
url=uri, info=info, msgtype='m.image')
|
||||||
|
Loading…
Reference in New Issue
Block a user