@@ -211,6 +211,7 @@ def __init__(self, hs: "HomeServer", auth_handler: AuthHandler) -> None:
211
211
212
212
def register_spam_checker_callbacks (
213
213
self ,
214
+ * ,
214
215
check_event_for_spam : Optional [CHECK_EVENT_FOR_SPAM_CALLBACK ] = None ,
215
216
user_may_join_room : Optional [USER_MAY_JOIN_ROOM_CALLBACK ] = None ,
216
217
user_may_invite : Optional [USER_MAY_INVITE_CALLBACK ] = None ,
@@ -245,6 +246,7 @@ def register_spam_checker_callbacks(
245
246
246
247
def register_account_validity_callbacks (
247
248
self ,
249
+ * ,
248
250
is_user_expired : Optional [IS_USER_EXPIRED_CALLBACK ] = None ,
249
251
on_user_registration : Optional [ON_USER_REGISTRATION_CALLBACK ] = None ,
250
252
on_legacy_send_mail : Optional [ON_LEGACY_SEND_MAIL_CALLBACK ] = None ,
@@ -265,6 +267,7 @@ def register_account_validity_callbacks(
265
267
266
268
def register_third_party_rules_callbacks (
267
269
self ,
270
+ * ,
268
271
check_event_allowed : Optional [CHECK_EVENT_ALLOWED_CALLBACK ] = None ,
269
272
on_create_room : Optional [ON_CREATE_ROOM_CALLBACK ] = None ,
270
273
check_threepid_can_be_invited : Optional [
@@ -289,6 +292,7 @@ def register_third_party_rules_callbacks(
289
292
290
293
def register_presence_router_callbacks (
291
294
self ,
295
+ * ,
292
296
get_users_for_states : Optional [GET_USERS_FOR_STATES_CALLBACK ] = None ,
293
297
get_interested_users : Optional [GET_INTERESTED_USERS_CALLBACK ] = None ,
294
298
) -> None :
@@ -303,6 +307,7 @@ def register_presence_router_callbacks(
303
307
304
308
def register_password_auth_provider_callbacks (
305
309
self ,
310
+ * ,
306
311
check_3pid_auth : Optional [CHECK_3PID_AUTH_CALLBACK ] = None ,
307
312
on_logged_out : Optional [ON_LOGGED_OUT_CALLBACK ] = None ,
308
313
auth_checkers : Optional [
@@ -327,6 +332,7 @@ def register_password_auth_provider_callbacks(
327
332
328
333
def register_background_update_controller_callbacks (
329
334
self ,
335
+ * ,
330
336
on_update : ON_UPDATE_CALLBACK ,
331
337
default_batch_size : Optional [DEFAULT_BATCH_SIZE_CALLBACK ] = None ,
332
338
min_batch_size : Optional [MIN_BATCH_SIZE_CALLBACK ] = None ,
0 commit comments