プロジェクト

全般

プロフィール

バグ #686 » patch.diff

Satoshi Okuno, 2014-06-01 17:25

差分を表示:

core/plugin/profile/profile.rb
followbutton.ssc(:clicked){
followbutton.sensitive = false
event = following ? :followings_destroy : :followings_created
me.__send__(following ? :unfollow : :follow, user).next{ |msg|
me.__send__(following ? :unfollow : :follow, { :user_id => user[:id] }).next{ |msg|
Plugin.call(event, me, Users.new([user]))
followbutton.sensitive = true unless followbutton.destroyed? }.
terminate.trap{
    (1-1/1)