summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre de Lacroix <pierre@pdelacroix.com>2021-04-10 18:40:36 +0200
committerPierre de Lacroix <pierre@pdelacroix.com>2021-04-10 18:40:36 +0200
commit80917329be937589b885fdbb950d57dff52268ab (patch)
tree5750bb2d95fb40f26daad7b1016804effa82bdaf
parentfix missing callback in ClientBehaviour (diff)
fix missing application_service client parameter
-rw-r--r--lib/matrix_app_service/client.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/matrix_app_service/client.ex b/lib/matrix_app_service/client.ex
index 2652383..5353a3f 100644
--- a/lib/matrix_app_service/client.ex
+++ b/lib/matrix_app_service/client.ex
@@ -45,7 +45,8 @@ defmodule MatrixAppService.Client do
default_opts = [
access_token: access_token,
- device_id: "APP_SERVICE"
+ device_id: "APP_SERVICE",
+ application_service: true
]
opts = Keyword.merge(default_opts, opts)