Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Mention callbacks introduced in v1.44.0 and v1.45.0
Browse files Browse the repository at this point in the history
As per #10898, #10910 and #10894
  • Loading branch information
babolivier committed Oct 20, 2021
1 parent f475266 commit 6426b55
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/modules/spam_checker_callbacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ any of the subsequent implementations of this callback.

### `user_may_join_room`

_First introduced in Synapse v1.37.0_

```python
async def user_may_join_room(user: str, room: str, is_invited: bool) -> bool
```
Expand Down Expand Up @@ -65,6 +67,8 @@ any of the subsequent implementations of this callback.

### `user_may_send_3pid_invite`

_First introduced in Synapse v1.45.0_

```python
async def user_may_send_3pid_invite(
inviter: str,
Expand Down Expand Up @@ -121,6 +125,8 @@ any of the subsequent implementations of this callback.

### `user_may_create_room_with_invites`

_First introduced in Synapse v1.44.0_

```python
async def user_may_create_room_with_invites(
user: str,
Expand Down

0 comments on commit 6426b55

Please sign in to comment.