This commit is contained in:
lain 2019-05-17 18:32:30 +02:00
parent f959bf7aa6
commit 075eecec90

View File

@ -5,8 +5,8 @@
defmodule Pleroma.Web.MongooseIM.MongooseIMController do
use Pleroma.Web, :controller
alias Comeonin.Pbkdf2
alias Pleroma.User
alias Pleroma.Repo
alias Pleroma.User
def user_exists(conn, %{"user" => username}) do
with %User{} <- Repo.get_by(User, nickname: username, local: true) do