Commit 1e5b3eb4 authored by Grant's avatar Grant
Browse files

add pixelfed to mastodon DM compatible

parent d1b3e9eb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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(