42wim / matterircd

Connect to your mattermost or slack using your IRC-client of choice.
MIT License
294 stars 60 forks source link

Direct Messaging to slack is broken #400

Closed Peter4825 closed 3 years ago

Peter4825 commented 3 years ago

After working reliably for a long time, all of a sudden, messaging people in slack is broken.

Only the messages I sent to slack via matterircd server are broken - I don't see the messages showing up in the webinterface of slack. This is probably due to a change at the slack side, as I did not change anything. I've confirmed with another user - this does not seem to be a local problem.

So to clarify: I send a message on irc -> matterircd -> slack server: broken I send a message on the slack interface: the self-message on irc still appears and works fine Other people message messaging me: still works

This is only for one-2-one private messaging. Messages to channels still work fine

Using the latest matterircd 0.23.0

Peter4825 commented 3 years ago

As a followup: if I search around a bit I find the following things on the interwebs: https://github.com/slack-go/slack/issues/748

Basically a chunk of API's are deprecated and disabled serverside since yesterday: https://api.slack.com/changelog/2020-01-deprecating-antecedents-to-the-conversations-api

hloeung commented 3 years ago

A good start would be to try update the slack-go version to the latest, v0.8.1 - the currently vendored version is v0.6.6. I don't have access to Slack to try it out and test.

hloeung commented 3 years ago

https://github.com/42wim/matterircd/pull/401

I just signed up with a test account, even with slack-go v0.6.6, it seems to work for me. So I'm not sure what it is.

2jz8OyURns s3OeniH6CJ

42wim commented 3 years ago

I just signed up with a test account, even with slack-go v0.6.6, it seems to work for me. So I'm not sure what it is.

That's because we are already using the new api everywhere, except for a direct message to a user.