Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve uploads between telegram and XMPP #2208

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

selfhoster1312
Copy link

@selfhoster1312 selfhoster1312 commented Jan 27, 2025

Previously i would only receive empty messages without the attached images across the bridge.

Now we have a limitation which is that most XMPP clients don't support text alongside images (such as image description or in our case uploader identity). So i opted to post a previous message containing just the username and optional comment.

On telegram side the authorship (and optional comment) is added as caption to the uploaded image.

Sorry the code is ugly i'm a bad bad golang developer.

@selfhoster1312 selfhoster1312 changed the title WIP: Improve uploads between telegram and XMPP Improve uploads between telegram and XMPP Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant