aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-10-03 22:00:16 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-10-26 14:15:15 +0900
commit0148d5134606c296c4d17ed9a3f89eae255392c2 (patch)
tree0e93ccceddd48cfd3c8b29fa67cb47e902739297
parent5bde57f757f53edb75a5b002833bb593ef07db4b (diff)
downloadmikutter-0148d5134606c296c4d17ed9a3f89eae255392c2.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