hacky fix for mastodon auth

this requires users to DM the service account rather than the service account DMing the user.
This commit is contained in:
Kay Faraday 2024-07-29 15:48:55 -07:00
parent b49ded7ccd
commit d02cce2ed1
1 changed files with 3 additions and 3 deletions

View File

@ -43,9 +43,9 @@ class MastodonCompatible_ extends DeliveryProvider<{ token: string }> {
}
isThisFor(software_name: string): boolean {
// TODO: add other softwares that work w/ mastodon DMs
const compatible = ["mastodon", "pixelfed"];
return compatible.indexOf(software_name) > -1;
// i was having some trouble getting Takahē to deliver posts to mastodon users
// so we will just have users send a message to the service account instead
return false;
}
async send(