aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/plugin/streaming/streamer.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/plugin/streaming/streamer.rb b/core/plugin/streaming/streamer.rb
index fa3e1f1c..b4e99660 100644
--- a/core/plugin/streaming/streamer.rb
+++ b/core/plugin/streaming/streamer.rb
@@ -178,5 +178,11 @@ module ::Plugin::Streaming
list.remove_member(target_user)
Plugin.call(:list_member_removed, @service, target_user, list, source_user) end
+ defevent(:user_update) do |json|
+ source = MikuTwitter::ApiCallSupport::Request::Parser.user(json['source'].symbolize)
+ target = MikuTwitter::ApiCallSupport::Request::Parser.user(json['target'].symbolize)
+ Plugin.activity(:user_update, "update_update: #{source.idname}",
+ description: YAML.dump(json['source'])) end
+
end
end