summaryrefslogtreecommitdiff
path: root/lib/matrix_app_service/client.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/matrix_app_service/client.ex')
-rw-r--r--lib/matrix_app_service/client.ex5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/matrix_app_service/client.ex b/lib/matrix_app_service/client.ex
index f166b88..843b9f3 100644
--- a/lib/matrix_app_service/client.ex
+++ b/lib/matrix_app_service/client.ex
@@ -3,12 +3,13 @@ defmodule MatrixAppService.Client do
base_url = Application.get_env(:matrix_app_service, :base_url)
access_token = Application.get_env(:matrix_app_service, :access_token)
- %Polyjuice.Client{
+ %Polyjuice.Client.LowLevel{
base_url: base_url,
access_token: access_token,
# "@alice:matrix.imago.local",
user_id: user_id,
- storage: storage
+ storage: storage,
+ device_id: "Application service"
}
end