From 5422a987dad8f98db999a3ac36ca14f557baf398 Mon Sep 17 00:00:00 2001 From: parroty Date: Sat, 23 Apr 2016 21:00:43 +0900 Subject: [PATCH] Fix warning --- lib/extwitter/api/streaming.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/extwitter/api/streaming.ex b/lib/extwitter/api/streaming.ex index dc4f909..91d8a2b 100644 --- a/lib/extwitter/api/streaming.ex +++ b/lib/extwitter/api/streaming.ex @@ -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