プロジェクト

全般

プロフィール

バグ #686 » patch.diff

Satoshi Okuno, 2014-06-01 17:25

差分を表示:

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