Remove TODO

This commit is contained in:
Dan 2018-05-17 16:49:35 +02:00
parent 5f414626ef
commit f69da98c99

View File

@ -582,26 +582,12 @@ def parse_messages(
reply_markup=reply_markup reply_markup=reply_markup
) )
# TODO: lazily evaluate html and markdown?
if m.text: if m.text:
m.text.init(m.client, m.entities or []) m.text.init(m.client, m.entities or [])
if m.caption: if m.caption:
m.caption.init(m.client, m.caption_entities or []) m.caption.init(m.client, m.caption_entities or [])
# if m.text:
# args = (m.text, m.entities or [])
#
# m.text.markdown = client.markdown.unparse(*args)
# m.text.html = client.html.unparse(*args)
#
# if m.caption:
# args = (m.caption, m.caption_entities or [])
#
# m.caption.markdown = client.markdown.unparse(*args)
# m.caption.html = client.html.unparse(*args)
if message.reply_to_msg_id and replies: if message.reply_to_msg_id and replies:
while True: while True:
try: try: