about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/controllers/remote_follow_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/remote_follow_controller.rb b/app/controllers/remote_follow_controller.rb
index 5e923c88f..7d4bfe6ce 100644
--- a/app/controllers/remote_follow_controller.rb
+++ b/app/controllers/remote_follow_controller.rb
@@ -22,7 +22,7 @@ class RemoteFollowController < ApplicationController
         render(:new) && return
       end
 
-      redirect_to Addressable::Template.new(redirect_url_link.template).expand(uri: "acct:#{@account.username}@#{Rails.configuration.x.local_domain}").to_s
+      redirect_to Addressable::Template.new(redirect_url_link.template).expand(uri: "#{@account.username}@#{Rails.configuration.x.local_domain}").to_s
     else
       render :new
     end