X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fmime.ex;h=2cb3d8bd15f940ecaa16f8e248c44035486054c8;hb=cc878804880137740afc37a0c5d3f7e4d64d014a;hp=5e1c109e98a01b4fe24a9f1af30861ec296c76f8;hpb=ab98c92d86f91b0c83f482e002e4a518b93f65ca;p=akkoma diff --git a/lib/pleroma/mime.ex b/lib/pleroma/mime.ex index 5e1c109e9..2cb3d8bd1 100644 --- a/lib/pleroma/mime.ex +++ b/lib/pleroma/mime.ex @@ -3,7 +3,7 @@ defmodule Pleroma.MIME do Returns the mime-type of a binary and optionally a normalized file-name. """ @default "application/octet-stream" - @read_bytes 31 + @read_bytes 35 @spec file_mime_type(String.t()) :: {:ok, content_type :: String.t(), filename :: String.t()} | {:error, any()} | :error