feat: added mitra support

pull/23/head
db0 2023-09-14 12:19:30 +02:00
parent a0ba46d859
commit 6c311ed94d
3 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,9 @@
# Changelog # Changelog
# 0.14.1
* Fixed a bug with returning the reset API key on response
# 0.14.0 # 0.14.0
* Added pm_proxy fields which allow admins to receive PMs from the fediseer via fediseer@botsin.space * Added pm_proxy fields which allow admins to receive PMs from the fediseer via fediseer@botsin.space

View File

@ -1,5 +1,5 @@
FEDISEER_VERSION = "0.14.0" FEDISEER_VERSION = "0.14.1"
SUPPORTED_SOFTWARE = [ SUPPORTED_SOFTWARE = {
"lemmy", "lemmy",
"mastodon", "mastodon",
"friendica", "friendica",
@ -8,4 +8,5 @@ SUPPORTED_SOFTWARE = [
"firefish", "firefish",
"iceshrimp", "iceshrimp",
"misskey", "misskey",
] "mitra",
}

View File

@ -96,6 +96,7 @@ def get_admin_for_software(software: str, domain: str):
"akkoma": get_pleroma_admins, "akkoma": get_pleroma_admins,
"firefish": get_misskey_admins, "firefish": get_misskey_admins,
"iceshrimp": get_misskey_admins, "iceshrimp": get_misskey_admins,
"mitra": get_misskey_admins,
"misskey": get_misskey_admins, "misskey": get_misskey_admins,
"unknown": get_unknown_admins, "unknown": get_unknown_admins,
"wildcard": get_unknown_admins, "wildcard": get_unknown_admins,