You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Slack user posts a message in a Slack Thread, a blank event from the Matrix user running the bridge is posted in the room before the message from Slack
#57
Open
thomas-profitt opened this issue
Nov 9, 2018
· 3 comments
It looks like matrix-puppet-slack is generating empty messages with message body content: ' \ufeff' for some reason? So I created an ugly workaround but it works for me (it doesn't fix the root cause but filters these empty messages sent by my user):
After npm install has executed I manually edited files:
node_modules/matrix-js-sdk/lib/client.js
node_modules/matrix-js-sdk/src/client.js
by adding following code
if (content.body == ' \ufeff') {
console.log(`Skipping empty event created by matrix-puppet-slack (BUG: https://github.com/matrix-hacks/matrix-puppet-slack/issues/57)`);
return;
}
after line: console.log("sendEvent of type " + eventType + " in " + roomId + " with txnId " + txnId);
And then restarted the matrix-puppet-slack.
The text was updated successfully, but these errors were encountered: