Change user.discoverable field to user.is_discoverable
[akkoma] / lib / pleroma / web / rich_media / parsers / ttl / ttl.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 defmodule Pleroma.Web.RichMedia.Parser.TTL do
6 @callback ttl(Map.t(), String.t()) :: {:ok, Integer.t()} | {:error, String.t()}
7 end