From 01ae3221391a3ad51dad9a670b3ab7278ec4c332 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 22 Apr 2021 11:54:49 +0100 Subject: [PATCH] Boolean return --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 170920146..2542e90a0 100644 --- a/utils.py +++ b/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.