Skip to content

Commit 768549f

Browse files
committed
Changelog and version update
1 parent 12992fa commit 768549f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

changelog.d/18848.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add `get_media_upload_limits_for_user` and `on_media_upload_limit_exceeded` module API callbacks for media repository.

docs/modules/media_repository_callbacks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ implementations of this callback.
6767

6868
### `get_media_upload_limits_for_user`
6969

70-
_First introduced in Synapse v1.137.0_
70+
_First introduced in Synapse v1.138.0_
7171

7272
```python
7373
async def get_media_upload_limits_for_user(user_id: str, size: int) -> Optional[List[MediaUploadLimit]]
@@ -97,7 +97,7 @@ If no module returns a non-`None` value then the default [media upload limits co
9797

9898
### `on_media_upload_limit_exceeded`
9999

100-
_First introduced in Synapse v1.137.0_
100+
_First introduced in Synapse v1.138.0_
101101

102102
```python
103103
async def on_media_upload_limit_exceeded(user_id: str, limit: MediaUploadLimit, sent_bytes: int, attempted_bytes: int) -> None

0 commit comments

Comments
 (0)