add pixelfed to mastodon DM compatible

This commit is contained in:
Grant 2024-05-22 14:17:01 -06:00
parent d1b3e9eb86
commit 1e5b3eb4b0
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ class MastodonCompatible_ extends DeliveryProvider<{ token: string }> {
isThisFor(software_name: string): boolean {
// TODO: add other softwares that work w/ mastodon DMs
return software_name === "mastodon";
const compatible = ["mastodon", "pixelfed"];
return compatible.indexOf(software_name) > -1;
}
async send(