mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Fix style checking due to updated black.
This commit is contained in:
parent
d9f1dccba9
commit
c4a55ac4a4
@ -310,8 +310,7 @@ class ProfileHandler(BaseHandler):
|
||||
await self._update_join_states(requester, target_user)
|
||||
|
||||
async def on_profile_query(self, args: JsonDict) -> JsonDict:
|
||||
"""Handles federation profile query requests.
|
||||
"""
|
||||
"""Handles federation profile query requests."""
|
||||
|
||||
if not self.hs.config.allow_profile_lookup_over_federation:
|
||||
raise SynapseError(
|
||||
|
@ -619,7 +619,10 @@ class UserDirectoryTestCase(unittest.HomeserverTestCase):
|
||||
[self.assertIn(user, remote_users) for user in received_user_id_ordering[3:]]
|
||||
|
||||
def _add_user_to_room(
|
||||
self, room_id: str, room_version: RoomVersion, user_id: str,
|
||||
self,
|
||||
room_id: str,
|
||||
room_version: RoomVersion,
|
||||
user_id: str,
|
||||
):
|
||||
# Add a user to the room.
|
||||
builder = self.event_builder_factory.for_room_version(
|
||||
|
Loading…
Reference in New Issue
Block a user