Skip to content

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