diff options
| author | Melonai <einebeere@gmail.com> | 2021-07-14 19:36:29 +0200 |
|---|---|---|
| committer | Melonai <einebeere@gmail.com> | 2021-07-14 19:36:29 +0200 |
| commit | 251cba56d9103c9ac38f9b98b69ee953ce23111e (patch) | |
| tree | ebe7f48b99fd4d754084ebe416e6bbbc9f71092d /lib | |
| parent | c3b05a72b7185112ece6e42c99e9a828c8298f04 (diff) | |
| download | rook-251cba56d9103c9ac38f9b98b69ee953ce23111e.tar.zst rook-251cba56d9103c9ac38f9b98b69ee953ce23111e.zip | |
Started better typing for message handler
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/rook/request/request.ex | 2 | ||||
| -rw-r--r-- | lib/rook/share/share.ex | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rook/request/request.ex b/lib/rook/request/request.ex index d0ee7c6..dabfd68 100644 --- a/lib/rook/request/request.ex +++ b/lib/rook/request/request.ex @@ -59,7 +59,7 @@ defmodule Rook.Request do end def handle_cast({:share_ice_candidate, candidate}, state) do - notify(state.token, "ice_candidate", %{candidate: candidate}) + notify(state.token, "share_ice_candidate", %{candidate: candidate}) {:noreply, state} end diff --git a/lib/rook/share/share.ex b/lib/rook/share/share.ex index fe626c2..e1760c7 100644 --- a/lib/rook/share/share.ex +++ b/lib/rook/share/share.ex @@ -61,7 +61,7 @@ defmodule Rook.Share do end def handle_cast({:request_ice_candidate, request_token, candidate}, state) do - notify(state.token, "ice_candidate", %{token: request_token, candidate: candidate}) + notify(state.token, "request_ice_candidate", %{token: request_token, candidate: candidate}) {:noreply, state} end |
