fix gopher server informational messages

some gopher clients did not accept those lines due to a missing tab
This commit is contained in:
trqx@goat.si 2018-08-09 16:17:45 +02:00 committed by tx
parent 59b42531a3
commit e7b00f202f

View file

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