Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

working backfill for channels, thread messages working but relations … #49

Closed
wants to merge 2 commits into from

Conversation

pinnymz
Copy link

@pinnymz pinnymz commented Feb 21, 2024

…need some work

@pinnymz
Copy link
Author

pinnymz commented Feb 21, 2024

WIP, for collaboration

@niebloomj
Copy link

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

@pinnymz
Copy link
Author

pinnymz commented Feb 21, 2024

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.

@niebloomj
Copy link

Linking the issue we are trying to solve here #47

@pinnymz
Copy link
Author

pinnymz commented Feb 21, 2024

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)
		}

@pinnymz
Copy link
Author

pinnymz commented Feb 21, 2024

It would help if there were some reference that explained the flow and modeling for the role of the bridge with IM rooms.

@niebloomj
Copy link

I pulled this into my production env and it worked incredibly well!

@tulir
Copy link
Member

tulir commented Apr 20, 2024

Backfilling will be redone in the refactor

@tulir tulir closed this Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants