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

async/await is_server_admin #7363

Merged
merged 16 commits into from
May 1, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion synapse/server_notices/resource_limits_server_notices.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def _is_room_currently_blocked(self, room_id):
room_id(str): The room id of the server notices room

Returns:
Deferred[bool|List]:
Deferred[Tuple[bool|List]]:
anoadragon453 marked this conversation as resolved.
Show resolved Hide resolved
bool: Is the room currently blocked
list: The list of pinned events that are unrelated to limit blocking
This list can be used as a convenience in the case where the block
Expand Down