summaryrefslogtreecommitdiff
path: root/lib/matrix_app_service
diff options
context:
space:
mode:
authorPierre de Lacroix <pierre@pdelacroix.com>2020-09-08 19:47:04 +0200
committerPierre de Lacroix <pierre@pdelacroix.com>2020-09-08 19:47:16 +0200
commit465305defbf1080e2d34eeaf809591d1a4076320 (patch)
treeb2418c700aeb6824b603660856a078acaaa04015 /lib/matrix_app_service
parentMerge branch 'pdelacroix-master-patch-65112' into 'master' (diff)
adapt to recent polyjuice changes
Diffstat (limited to 'lib/matrix_app_service')
-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