Better handling of video notes (#803)

This commit is contained in:
ferferga 2018-05-24 12:28:10 +02:00 committed by Lonami
parent 6726eab045
commit 2c9d3d2fed

View File

@ -1673,7 +1673,7 @@ class TelegramClient(TelegramBareClient):
if m.has('duration') else 0)
)
else:
doc = DocumentAttributeVideo(0, 0, 0,
doc = DocumentAttributeVideo(0, 1, 1,
round_message=video_note)
attr_dict[DocumentAttributeVideo] = doc