aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/plugin/streaming/streamer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/plugin/streaming/streamer.rb b/core/plugin/streaming/streamer.rb
index b4e99660..20b56505 100644
--- a/core/plugin/streaming/streamer.rb
+++ b/core/plugin/streaming/streamer.rb
@@ -107,8 +107,8 @@ module ::Plugin::Streaming
# よくわからないので見なかったことにする
when !json.has_key?('event')
event_update(json)
- when Mopt.debug
- Plugin.activity :system, YAML.dump(json)
+ when json['event'].to_s =~ /^list_/
+ Plugin.activity(json['event'].to_sym, "unknown list event", description: YAML.dump(json))
else
if Mopt.debug
Plugin.activity :system, "unsupported event:\n" + YAML.dump(json) end end end