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

Commit 34a43f0

Browse files
committed
Fix a couple of small typos
1 parent a3cf36f commit 34a43f0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

synapse/appservice/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def is_exclusive_alias(self, alias):
270270
def is_exclusive_room(self, room_id):
271271
return self._is_exclusive(ApplicationService.NS_ROOMS, room_id)
272272

273-
def get_exlusive_user_regexes(self):
273+
def get_exclusive_user_regexes(self):
274274
"""Get the list of regexes used to determine if a user is exclusively
275275
registered by the AS
276276
"""

synapse/storage/data_stores/main/appservice.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030

3131

3232
def _make_exclusive_regex(services_cache):
33-
# We precompie a regex constructed from all the regexes that the AS's
33+
# We precompile a regex constructed from all the regexes that the AS's
3434
# have registered for exclusive users.
3535
exclusive_user_regexes = [
3636
regex.pattern
3737
for service in services_cache
38-
for regex in service.get_exlusive_user_regexes()
38+
for regex in service.get_exclusive_user_regexes()
3939
]
4040
if exclusive_user_regexes:
4141
exclusive_user_regex = "|".join("(" + r + ")" for r in exclusive_user_regexes)

0 commit comments

Comments
 (0)