Open ForNeVeR opened 7 years ago
Hey, there's XEP-0363: HTTP File Upload, and this feature is enabled on jabber.ru. Bot should use this feature to upload images if available.
Please review https://github.com/jt3k/chat-linker/pull/32
Images from telegram can be proxied to the outside world https://github.com/telegraf/tg-cdn
Try to post image to Telegram. It won't cause any measure effect on XMPP room. That's inappropriate.
At least show something like
[Image posted]
, but better repost the image to some server (probably keep it on your own Heroku instance) and post the link to XMPP.