Skip to content

Commit

Permalink
Fix unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
farao committed Jun 6, 2020
1 parent dd788b4 commit 28fede2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/signal_tower/msg_integrity.ex
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ defmodule SignalTower.MsgIntegrity do

defp complete?("send_to_peer", msg), do: is_binary(msg["peer_id"]) && is_map(msg["data"])
defp complete?("update_status", msg), do: is_map(msg["status"])
defp complete?("leave_room", msg), do: true
defp complete?("leave_room", _msg), do: true
defp complete?("ping", _msg), do: true
defp complete?(_, _), do: false

Expand Down

0 comments on commit 28fede2

Please sign in to comment.