aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-10-03 22:00:16 +0900
committerKazuki Yamaguchi <k@rhe.jp>2017-09-07 20:06:28 +0900
commit6528a30ba1a491ce0ecc859db1963e4fbc2e5798 (patch)
tree86c75aad1f95b65b17cb80f1003fb78870313180
parent8e78467fe31ce24f3673af509f10f6809520fd0d (diff)
downloadmikutter-6528a30ba1a491ce0ecc859db1963e4fbc2e5798.tar.gz
{status,user}_withheld はよくわからないので見なかったことにする
-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 60b4c5a4..fa3e1f1c 100644
--- a/core/plugin/streaming/streamer.rb
+++ b/core/plugin/streaming/streamer.rb
@@ -101,6 +101,10 @@ module ::Plugin::Streaming
# if Mopt.debug
# Plugin.activity :system, YAML.dump(json)
# end
+ when json['status_withheld']
+ # よくわからないので見なかったことにする
+ when json['user_withheld']
+ # よくわからないので見なかったことにする
when !json.has_key?('event')
event_update(json)
when Mopt.debug