Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
parroty committed Apr 23, 2016
1 parent c2d75c6 commit 5422a98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/extwitter/api/streaming.ex
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,11 @@ defmodule ExTwitter.API.Streaming do
{:unfollow, msg}
end

defp parse_message_type(%{event: event} = msg, _) do
defp parse_message_type(%{event: _event} = msg, _) do
{:event, msg}
end

defp parse_message_type(%{text: text} = msg, _) do
defp parse_message_type(%{text: _text} = msg, _) do
{:msg, msg}
end

Expand Down

0 comments on commit 5422a98

Please sign in to comment.