diff options
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 |
