Skip to content

fix: xmpp should no longer send empty messages, ever#177

Open
selfhoster1312 wants to merge 1 commit intomatterbridge-org:masterfrom
selfhoster1312:xmpp-empty-message
Open

fix: xmpp should no longer send empty messages, ever#177
selfhoster1312 wants to merge 1 commit intomatterbridge-org:masterfrom
selfhoster1312:xmpp-empty-message

Conversation

@selfhoster1312
Copy link
Collaborator

This should not happen, but after filtering messages in #175 i ended up with a message with just the username. It wasn't the file upload being announced but rather that after no attachments were found, we didn't check if the Text was empty.

This should not happen because the gateway should make sure a bridge doesn't receive a message with no text and no attachments. Maybe this should be fixed in #175 instead.

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