projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c76f49
)
BBS: Use cached user fetcher.
author
lain
<lain@soykaf.club>
Sat, 4 May 2019 13:08:07 +0000
(15:08 +0200)
committer
lain
<lain@soykaf.club>
Sat, 4 May 2019 13:08:07 +0000
(15:08 +0200)
lib/pleroma/bbs/handler.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/bbs/handler.ex
b/lib/pleroma/bbs/handler.ex
index 75ba35dc22609c9b46cbcb5b6890d8bd9448dcd7..14e6a68075896add655a1519672c384adb3a6997 100644
(file)
--- a/
lib/pleroma/bbs/handler.ex
+++ b/
lib/pleroma/bbs/handler.ex
@@
-6,7
+6,7
@@
defmodule Pleroma.BBS.Handler do
def on_shell(username, _pubkey, _ip, _port) do
:ok = IO.puts("Welcome to #{Pleroma.Config.get([:instance, :name])}!")
- user = Pleroma.User.get_by_nickname(to_string(username))
+ user = Pleroma.User.get_
cached_
by_nickname(to_string(username))
Logger.debug("#{inspect(user)}")
loop(run_state(user: user))
end