Verified Commit 4292a917 authored by Pierre de Lacroix's avatar Pierre de Lacroix
Browse files

remove default bridged user

parent eef54b2c
......@@ -42,10 +42,10 @@ defmodule MatrixAppService.BridgeConfig do
def get_user!(id), do: @repo.get!(User, id)
def get_user_by_local_id(local_id),
do: @repo.get_by(User, local_id: local_id) || %User{local_id: local_id}
do: @repo.get_by(User, local_id: local_id)
def get_user_by_remote_id(remote_id),
do: @repo.get_by(User, remote_id: remote_id) || %User{remote_id: remote_id}
do: @repo.get_by(User, remote_id: remote_id)
@doc """
Creates a user.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment