mautrix / slack

A Matrix-Slack puppeting bridge
GNU Affero General Public License v3.0
61 stars 17 forks source link

Thread replies sent to channel are missing #14

Open slagiewka opened 1 year ago

slagiewka commented 1 year ago

Whenever someone sends a reply to a thread (in native Slack) using the Also send to #channel option, the message doesn't show up in Matrix. Neither as a reply to a thread or a regular message to a channel.

I've looked into https://github.com/mautrix/slack/blob/main/ROADMAP.md and found no mention of this being not implemented.

hooger commented 1 year ago

I tested with a channel to myself (called Slack bridge bot on matrix side) and I have seen the following log entries:

Feb 10 08:48:23 matrix matrix-mautrix-slack[3740744]: [Feb 10, 2023 08:48:23] [User/@gergely:horvath.club/WARN] unknown message {im_marked 0xc00002e900}
Feb 10 08:48:23 matrix matrix-mautrix-slack[3740744]: [Feb 10, 2023 08:48:23] [User/@gergely:horvath.club/WARN] unknown message {unmarshalling_error RTM Error: Received unmapped event "thread_marked"}
Feb 10 08:48:23 matrix matrix-mautrix-slack[3740744]: [Feb 10, 2023 08:48:23] [User/@gergely:horvath.club/WARN] unknown message {unmarshalling_error RTM Error: Received unmapped event "update_thread_state"}
wapsi commented 1 year ago

I tested with a channel to myself (called Slack bridge bot on matrix side) and I have seen the following log entries:

Feb 10 08:48:23 matrix matrix-mautrix-slack[3740744]: [Feb 10, 2023 08:48:23] [User/@gergely:horvath.club/WARN] unknown message {im_marked 0xc00002e900}
Feb 10 08:48:23 matrix matrix-mautrix-slack[3740744]: [Feb 10, 2023 08:48:23] [User/@gergely:horvath.club/WARN] unknown message {unmarshalling_error RTM Error: Received unmapped event "thread_marked"}
Feb 10 08:48:23 matrix matrix-mautrix-slack[3740744]: [Feb 10, 2023 08:48:23] [User/@gergely:horvath.club/WARN] unknown message {unmarshalling_error RTM Error: Received unmapped event "update_thread_state"}

I'm also facing this exact issue. The threads from Slack => Matrix are not working (almost) at all, and I'm getting those same errors in the logs.

slagiewka commented 1 year ago

I'm currently running dock.mau.dev/mautrix/slack@sha256:fcf61851800a74da18aeb43b950839bb4b38e604e9dd2bdbe089b546afea5b48 (created at 2023-04-26T18:07:20.632324431+03:00) and I've seen thread replies shown inside threads.

They're not shown in main channel. I'm not sure how that should be handled and displayed, though. Great to see improvement anyway!