From faf088155f96d756c6c79ba21cfc160d16d6c0f2 Mon Sep 17 00:00:00 2001 From: Yannik Enss Date: Sun, 10 Mar 2019 21:11:42 +0100 Subject: [PATCH] typo --- xmpp_tg/mtproto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmpp_tg/mtproto.py b/xmpp_tg/mtproto.py index 0af54b8..720ab56 100644 --- a/xmpp_tg/mtproto.py +++ b/xmpp_tg/mtproto.py @@ -153,7 +153,7 @@ class TelegramGateClient(TelegramClient): # message media # if update_obj.message.media: text, oob_url = self._process_media_msg(update_obj.message.media) - if oob_url is not None; + if oob_url is not None: self.xmpp_send_message(prefix + str(cid), mbody =oob_url, oob_url=oob_url) # send image/media in separate message msg = '{} {}'.format(msg, text)