lib/pleroma/gopher/server.ex: Fix errorneous empty lines
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Fri, 10 Aug 2018 16:01:42 +0000 (18:01 +0200)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Fri, 10 Aug 2018 16:01:42 +0000 (18:01 +0200)
lib/pleroma/gopher/server.ex

index 4bdd279590462070a5a9cdd69600c0936e2218f7..97a1dea77592ebb148c4ad876ffae5fb03d05245 100644 (file)
@@ -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"], "<br>", "\r")
           )
         )
     end)
-    |> Enum.join("\r\n")
+    |> Enum.join("i\tfake\t(NULL)\t0\r\n")
   end
 
   def response("") do