From c2170054a41b56076434837ff8664cb654cf11d8 Mon Sep 17 00:00:00 2001 From: Yannik Enss Date: Sun, 10 Mar 2019 20:58:19 +0100 Subject: [PATCH] conversations compatibility test --- xmpp_tg/mtproto.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmpp_tg/mtproto.py b/xmpp_tg/mtproto.py index 043f258..16e2ffe 100644 --- a/xmpp_tg/mtproto.py +++ b/xmpp_tg/mtproto.py @@ -153,8 +153,8 @@ class TelegramGateClient(TelegramClient): # message media # if update_obj.message.media: text, oob_url = self._process_media_msg(update_obj.message.media) - msg = oob_url - #msg = '{} {}'.format(msg, text) + self.xmpp_send_message(prefix + str(cid), mbody =oob_url, oob_url=oob_url) + msg = '{} {}'.format(msg, text) # edited # if update_obj.message.edit_date: