don't send image url with caption
This commit is contained in:
@@ -155,6 +155,7 @@ class TelegramGateClient(TelegramClient):
|
|||||||
text, oob_url = self._process_media_msg(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
|
self.xmpp_send_message(prefix + str(cid), mbody =oob_url, oob_url=oob_url) # send image/media in separate message
|
||||||
|
oob_url = None # don't send url with caption
|
||||||
msg = '{} {}'.format(msg, text)
|
msg = '{} {}'.format(msg, text)
|
||||||
|
|
||||||
# edited #
|
# edited #
|
||||||
|
|||||||
Reference in New Issue
Block a user