mirror of https://gitlab.com/bashrc2/epicyon
Boolean return
parent
91c955006a
commit
01ae322139
2
utils.py
2
utils.py
|
@ -2207,7 +2207,7 @@ def loadTranslationsFromFile(baseDir: str, language: str) -> ({}, str):
|
|||
|
||||
def dmAllowedFromDomain(baseDir: str,
|
||||
nickname: str, domain: str,
|
||||
sendingActorDomain: str):
|
||||
sendingActorDomain: str) -> bool:
|
||||
"""When a DM is received and the .followDMs flag file exists
|
||||
Then optionally some domains can be specified as allowed,
|
||||
regardless of individual follows.
|
||||
|
|
Loading…
Reference in New Issue