From: Haelwenn (lanodan) Monnier Date: Fri, 10 Aug 2018 16:01:42 +0000 (+0200) Subject: lib/pleroma/gopher/server.ex: Fix errorneous empty lines X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=af30f3f648db36338c997c3900a9504a8fca6fd5;p=akkoma lib/pleroma/gopher/server.ex: Fix errorneous empty lines --- diff --git a/lib/pleroma/gopher/server.ex b/lib/pleroma/gopher/server.ex index 4bdd27959..97a1dea77 100644 --- a/lib/pleroma/gopher/server.ex +++ b/lib/pleroma/gopher/server.ex @@ -77,14 +77,14 @@ defmodule Pleroma.Gopher.Server.ProtocolHandler do link("Post ##{activity.id} by #{user.nickname}", "/notices/#{activity.id}") <> info("#{like_count} likes, #{announcement_count} repeats") <> - "\r\n" <> + "i\tfake\t(NULL)\t0\r\n" <> info( HtmlSanitizeEx.strip_tags( String.replace(activity.data["object"]["content"], "
", "\r") ) ) end) - |> Enum.join("\r\n") + |> Enum.join("i\tfake\t(NULL)\t0\r\n") end def response("") do