- also a blocks.db-journal is being written, so let's ignore all
- the software's name is misskey, no need to slur it
Signed-off-by: Roland Häder <roland@mxchange.org>
-blocks.db
+blocks.db*
__pycache__/
venv/
config.json
"reject": blocks
}
-def get_pisskey_blocks(domain: str) -> dict:
+def get_misskey_blocks(domain: str) -> dict:
blocks = {
"suspended": [],
"blocked": []
if software == "friendica":
json = get_friendica_blocks(blocker)
elif software == "misskey":
- json = get_pisskey_blocks(blocker)
+ json = get_misskey_blocks(blocker)
for block_level, blocks in json.items():
for instance in blocks:
blocked, reason = instance.values()