summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre de Lacroix <pierre@pdelacroix.com>2021-01-24 14:09:30 +0100
committerPierre de Lacroix <pierre@pdelacroix.com>2021-01-24 14:09:30 +0100
commitf7961b5e513ed6048949353b59d5f63b247e71af (patch)
tree714db2efdfea8aee02d4df333a5202de95e0f960
parentremove default bridged user (diff)
fix some typespecs
-rw-r--r--lib/matrix_app_service/client_behaviour.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/matrix_app_service/client_behaviour.ex b/lib/matrix_app_service/client_behaviour.ex
index 6c69846..e373b73 100644
--- a/lib/matrix_app_service/client_behaviour.ex
+++ b/lib/matrix_app_service/client_behaviour.ex
@@ -11,8 +11,8 @@ defmodule MatrixAppService.ClientBehaviour do
Polyjuice.Client.LowLevel.t()
@callback client([client_options()]) ::
Polyjuice.Client.LowLevel.t()
- @callback create_room(Keyword.t()) :: {:ok, String.t()} | Any
- @callback create_room(Keyword.t(), client_options()) :: {:ok, String.t()} | Any
+ @callback create_room(Keyword.t()) :: {:ok, map()} | Any
+ @callback create_room(Keyword.t(), client_options()) :: {:ok, map()} | Any
@callback create_alias(String.t(), String.t(), client_options()) :: {:ok, String.t()} | Any
@callback send_message(String.t(), String.t(), client_options()) :: {:ok, String.t()} | Any
@callback register() ::