projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59b4253
)
fix gopher server informational messages
author
trqx@goat.si
<trqx@goat.si>
Thu, 9 Aug 2018 14:17:45 +0000
(16:17 +0200)
committer
tx
<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
patch
|
blob
|
history
diff --git
a/lib/pleroma/gopher/server.ex
b/lib/pleroma/gopher/server.ex
index f6abcd4d07f27db8fe1c6d4012881ade5bb89e1c..4bdd279590462070a5a9cdd69600c0936e2218f7 100644
(file)
--- a/
lib/pleroma/gopher/server.ex
+++ b/
lib/pleroma/gopher/server.ex
@@
-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