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

add support for kick/ban/unban #257

Merged
merged 11 commits into from
Jun 19, 2022
Merged

add support for kick/ban/unban #257

merged 11 commits into from
Jun 19, 2022

Conversation

maltee1
Copy link
Contributor

@maltee1 maltee1 commented May 9, 2022

Seems to work just fine.

We might have to think about power levels for kicking/banning/unbanning, because on signal, an ADMINISTRATOR can perform those actions on another ADMINISTRATOR, whereas matrix does not allow this if power levels are the same. I was thinking we could give a power level of 51 to matrix users, so they will be able to kick puppets, while Signal users can kick matrix users through the bridge bot.

mautrix_signal/portal.py Outdated Show resolved Hide resolved
mautrix_signal/matrix.py Show resolved Hide resolved
mautrix_signal/matrix.py Outdated Show resolved Hide resolved
mautrix_signal/portal.py Outdated Show resolved Hide resolved
mautrix_signal/matrix.py Show resolved Hide resolved
maltee1 and others added 2 commits May 17, 2022 20:33
Co-authored-by: Tulir Asokan <tulir@maunium.net>
mautrix_signal/matrix.py Outdated Show resolved Hide resolved
mautrix_signal/matrix.py Outdated Show resolved Hide resolved
maltee1 and others added 2 commits May 30, 2022 21:27
Co-authored-by: Tulir Asokan <tulir@maunium.net>
Co-authored-by: Tulir Asokan <tulir@maunium.net>
@maltee1 maltee1 requested a review from tulir June 8, 2022 07:01
mautrix_signal/matrix.py Outdated Show resolved Hide resolved
mausignald/types.py Outdated Show resolved Hide resolved
maltee1 and others added 2 commits June 17, 2022 16:12
Co-authored-by: Tulir Asokan <tulir@maunium.net>
@maltee1 maltee1 requested a review from tulir June 17, 2022 14:49
mautrix_signal/portal.py Outdated Show resolved Hide resolved
@tulir tulir merged commit 0c7b46e into mautrix:master Jun 19, 2022
@maltee1 maltee1 deleted the kick_ban branch June 19, 2022 18:42
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