mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 22:44:56 -04:00
Add types to synapse.util. (#10601)
This commit is contained in:
parent
ceab5a4bfa
commit
524b8ead77
41 changed files with 400 additions and 253 deletions
|
@ -398,6 +398,7 @@ class AccountValidityHandler:
|
|||
"""
|
||||
now = self.clock.time_msec()
|
||||
if expiration_ts is None:
|
||||
assert self._account_validity_period is not None
|
||||
expiration_ts = now + self._account_validity_period
|
||||
|
||||
await self.store.set_account_validity_for_user(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue