diff options
author | Pierre de Lacroix <pierre@pdelacroix.com> | 2021-08-27 16:23:42 +0200 |
---|---|---|
committer | Pierre de Lacroix <pierre@pdelacroix.com> | 2021-08-27 16:23:42 +0200 |
commit | 7f9d87e020545206b7df6bb0c61fa06175cbc488 (patch) | |
tree | 221ff40dc02e2797e0ddc264da6b1b267214dec0 | |
parent | allow fetching config from env even when passed in parameter (diff) |
add delegate for Polyjuice.Client.Account
-rw-r--r-- | lib/matrix_app_service/client.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/matrix_app_service/client.ex b/lib/matrix_app_service/client.ex index 5853e7d..dceaf16 100644 --- a/lib/matrix_app_service/client.ex +++ b/lib/matrix_app_service/client.ex @@ -123,6 +123,7 @@ defmodule MatrixAppService.Client do end defdelegate get_data(client, id, key), to: Polyjuice.Client.Account + defdelegate put_data(client_api, user_id, event_type, data), to: Polyjuice.Client.Account defdelegate get_profile(client, id), to: Polyjuice.Client.Profile defdelegate put_displayname(client, id, displayname), to: Polyjuice.Client.Profile defdelegate put_avatar_url(client, id, avatar_url), to: Polyjuice.Client.Profile |