Add missing type Pleroma.Emoji.t()

lib/pleroma/emoji/loader.ex:23:unknown_type
Unknown type: Pleroma.Emoji.t/0.
This commit is contained in:
Mark Felder 2024-01-20 17:08:18 -05:00
parent 8ed506a370
commit 559aeb5dd0
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ defmodule Pleroma.Emoji do
defstruct [:code, :file, :tags, :safe_code, :safe_file]
@type t :: %__MODULE__{}
@doc "Build emoji struct"
def build({code, file, tags}) do
%__MODULE__{