aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2015-10-14 19:35:30 +0900
committerKazuki Yamaguchi <k@rhe.jp>2017-09-07 20:06:28 +0900
commit26ce31a3dbd2616d5c4b2b47de7b74fae2f1c195 (patch)
treeb4dad1506bf9db1406d8d4852984231c9d5339df
parentcbe93fc8cef3189c7a9ad84446144c8cb5ee1cd4 (diff)
downloadmikutter-26ce31a3dbd2616d5c4b2b47de7b74fae2f1c195.tar.gz
block イベントを無視
-rw-r--r--core/plugin/streaming/streamer.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/plugin/streaming/streamer.rb b/core/plugin/streaming/streamer.rb
index 20b56505..c229e647 100644
--- a/core/plugin/streaming/streamer.rb
+++ b/core/plugin/streaming/streamer.rb
@@ -164,6 +164,10 @@ module ::Plugin::Streaming
elsif source.me?(@service)
Plugin.call(:followings_created, @service, Users.new([target])) end end
+ defevent(:unfollow) do |json| end
+
+ defevent(:block) do |json| end
+
defevent(:list_member_added) do |json|
target_user = MikuTwitter::ApiCallSupport::Request::Parser.user(json['target'].symbolize) # リストに追加されたユーザ
list = MikuTwitter::ApiCallSupport::Request::Parser.list(json['target_object'].symbolize) # リスト