Add start of controller testing

This commit is contained in:
Pim Kunis 2021-07-13 17:08:07 +02:00
parent 598af7a884
commit 096c99df92
14 changed files with 106 additions and 87 deletions

View file

@ -40,6 +40,7 @@ defmodule MatrixServer.Device do
end
def generate_device_id(localpart) do
# TODO: use random string instead
time_string =
DateTime.utc_now()
|> DateTime.to_unix()