mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:46:01 -04:00
Correct check_username_for_spam
annotations and docs (#12246)
* Formally type the UserProfile in user searches * export UserProfile in synapse.module_api * Update docs Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
This commit is contained in:
parent
12d1f82db2
commit
872dbb0181
8 changed files with 46 additions and 16 deletions
|
@ -111,6 +111,7 @@ from synapse.types import (
|
|||
StateMap,
|
||||
UserID,
|
||||
UserInfo,
|
||||
UserProfile,
|
||||
create_requester,
|
||||
)
|
||||
from synapse.util import Clock
|
||||
|
@ -150,6 +151,7 @@ __all__ = [
|
|||
"EventBase",
|
||||
"StateMap",
|
||||
"ProfileInfo",
|
||||
"UserProfile",
|
||||
]
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue