fix gopher server informational messages
authortrqx@goat.si <trqx@goat.si>
Thu, 9 Aug 2018 14:17:45 +0000 (16:17 +0200)
committertx <trqx@goat.si>
Fri, 10 Aug 2018 08:45:44 +0000 (10:45 +0200)
some gopher clients did not accept those lines due to a missing tab

lib/pleroma/gopher/server.ex

index f6abcd4d07f27db8fe1c6d4012881ade5bb89e1c..4bdd279590462070a5a9cdd69600c0936e2218f7 100644 (file)
@@ -54,7 +54,7 @@ defmodule Pleroma.Gopher.Server.ProtocolHandler do
 
     String.split(text, "\r")
     |> Enum.map(fn text ->
-      "i#{text}\tfake\(NULL)\t0\r\n"
+      "i#{text}\tfake\t(NULL)\t0\r\n"
     end)
     |> Enum.join("")
   end