From a081596b6b60651e562da12d77887db12c4b6074 Mon Sep 17 00:00:00 2001 From: okunosat Date: Sun, 1 Jun 2014 17:23:11 +0900 Subject: [PATCH] =?UTF-8?q?follow(friendships/create)=20/=20unfollow(frien?= =?UTF-8?q?dships/destroy)=E3=81=AE=E3=83=AA=E3=82=B9=E3=82=B1=E3=82=B9?= =?UTF-8?q?=E3=83=88=E6=99=82=E3=81=AB=E4=B8=8D=E8=A6=81=E3=81=AA=E3=82=AA?= =?UTF-8?q?=E3=83=97=E3=82=B7=E3=83=A7=E3=83=B3=E3=81=8C=E6=B8=A1=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=81=A6=E3=81=84=E3=82=8B=E3=81=9F=E3=82=81=E3=80=81?= =?UTF-8?q?=E5=BF=85=E8=A6=81=E3=81=AA=E3=82=AA=E3=83=97=E3=82=B7=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E3=81=AE=E3=81=BF=E6=8C=87=E5=AE=9A=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=E3=81=97=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/plugin/profile/profile.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/plugin/profile/profile.rb b/core/plugin/profile/profile.rb index 8d5c7d0..7a259d3 100644 --- a/core/plugin/profile/profile.rb +++ b/core/plugin/profile/profile.rb @@ -228,7 +228,7 @@ Plugin.create :profile do 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.8.3.msysgit.0