From: rinpatch Date: Sun, 2 Dec 2018 21:22:19 +0000 (+0300) Subject: Change @read_bytes to 35 X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=a3953ca37ab4122772119ae345705e712e23dd17;p=akkoma Change @read_bytes to 35 --- diff --git a/lib/pleroma/mime.ex b/lib/pleroma/mime.ex index db8b7c742..99063ded6 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