Closed pinnymz closed 2 months ago
WIP, for collaboration
What do you mean by "relations" need work? Also for those not following the related conversation about this, here is an issue we currently have with this code. https://matrix.to/#/!mautrix-slack-v9:maunium.net/$H6vxIcoyST_PtucRZD7QlOftC2-pbx7jL_L3GqQgFX4?via=maunium.net&via=matrix.org&via=beeper.com
The threaded messages seem to be related properly to the original message in the mautrix-slack DB, but I'm not confident they are being related properly within dendrite DB. It's possible the payload when submitting the event needs to be refined further.
Linking the issue we are trying to solve here https://github.com/mautrix/slack/issues/47
IM messages are still failing with a 403 when attempting to have a user (logged-in user? bot-user?) invite/join the room so that the message can be sent on their behalf. Specifically, this error is being triggered in the intent EnsureJoined()
method: https://github.com/mautrix/go/blob/master/appservice/intent.go#L118
if inviteErr != nil {
return fmt.Errorf("failed to invite in ensure joined: %w", inviteErr)
}
It would help if there were some reference that explained the flow and modeling for the role of the bridge with IM rooms.
I pulled this into my production env and it worked incredibly well!
Backfilling will be redone in the refactor
…need some work