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.39.0
Browse files Browse the repository at this point in the history
According to #10386 and #9884
  • Loading branch information
babolivier committed Oct 20, 2021
1 parent 7c1836a commit e96eb76
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/modules/account_validity_callbacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ The available account validity callbacks are:

### `is_user_expired`

_First introduced in Synapse v1.39.0_

```python
async def is_user_expired(user: str) -> Optional[bool]
```
Expand All @@ -29,6 +31,8 @@ any of the subsequent implementations of this callback.

### `on_user_registration`

_First introduced in Synapse v1.39.0_

```python
async def on_user_registration(user: str) -> None
```
Expand Down
8 changes: 8 additions & 0 deletions docs/modules/third_party_rules_callbacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ The available third party rules callbacks are:

### `check_event_allowed`

_First introduced in Synapse v1.39.0_

```python
async def check_event_allowed(
event: "synapse.events.EventBase",
Expand Down Expand Up @@ -51,6 +53,8 @@ any of the subsequent implementations of this callback.

### `on_create_room`

_First introduced in Synapse v1.39.0_

```python
async def on_create_room(
requester: "synapse.types.Requester",
Expand All @@ -76,6 +80,8 @@ callback.

### `check_threepid_can_be_invited`

_First introduced in Synapse v1.39.0_

```python
async def check_threepid_can_be_invited(
medium: str,
Expand All @@ -94,6 +100,8 @@ any of the subsequent implementations of this callback.

### `check_visibility_can_be_modified`

_First introduced in Synapse v1.39.0_

```python
async def check_visibility_can_be_modified(
room_id: str,
Expand Down

0 comments on commit e96eb76

Please sign in to comment.