forked from AkkomaGang/akkoma
BBS: Use cached user fetcher.
This commit is contained in:
parent
4c76f49e60
commit
c9d1cb2dce
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue