diff options
author | Toshiaki Asai <toshi.alternative@gmail.com> | 2015-09-12 00:03:06 +0900 |
---|---|---|
committer | Toshiaki Asai <toshi.alternative@gmail.com> | 2015-09-12 00:04:19 +0900 |
commit | 1a0ffefbb61782ee46bd93e151cd06430d164c1b (patch) | |
tree | 7b2094a17283a85b3ba51283381c2c5771f35611 /core/plugin.rb | |
parent | 098b6321c7c64e58250ce862614916a8847b2ac7 (diff) | |
download | mikutter-1a0ffefbb61782ee46bd93e151cd06430d164c1b.tar.gz |
streamingプラグインの状況をactivityに通知するプラグインを分離 refs #765
Diffstat (limited to 'core/plugin.rb')
-rw-r--r-- | core/plugin.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/plugin.rb b/core/plugin.rb index fcb561e3..dfa5d4a3 100644 --- a/core/plugin.rb +++ b/core/plugin.rb @@ -42,7 +42,7 @@ class Plugin < Pluggaloid::Plugin # date :: Time イベントの発生した時刻 # service :: Service 関係するServiceオブジェクト # related :: 自分に関係するかどうかのフラグ - def activity(kind, title, args) + def activity(kind, title, args={}) Plugin.call(:modify_activity, { plugin: self, kind: kind, |