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

set relaybot as relay on create #295

Merged
merged 2 commits into from
Sep 17, 2022
Merged

Conversation

maltee1
Copy link
Contributor

@maltee1 maltee1 commented Aug 27, 2022

  • move relaybot invite handling to separate function
  • also set relaybot as relay when creating a new portal. I don't find the check for the bot in the for loop particularly pretty, but it seemed to be the most efficient option.
  • also fixes a bug that breaks group creation because join_rule isn't passed by get_initial state.

mautrix_signal/portal.py Outdated Show resolved Hide resolved
@tulir tulir merged commit c934b44 into mautrix:master Sep 17, 2022
@maltee1 maltee1 deleted the relaybot_on_create branch October 21, 2022 10:23
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

2 participants