Implement client get/set display name endpoint

Add ability to unset avatar URL/display name
This commit is contained in:
Pim Kunis 2021-09-08 17:32:10 +02:00
parent 3e1a377226
commit af40cebc01
4 changed files with 61 additions and 17 deletions

View file

@ -16,7 +16,8 @@ defmodule Architex.Account do
schema "accounts" do
field :localpart, :string
field :password_hash, :string, redact: true
field :avatar_url
field :avatar_url, :string
field :displayname, :string
has_many :devices, Device
many_to_many :joined_rooms, Room,