From 6226cc1dfd96c94a360afe5d92076db7c76e3937 Mon Sep 17 00:00:00 2001 From: Rob Colbert Date: Sun, 14 Jul 2019 03:22:15 -0400 Subject: [PATCH] intents fix --- app/controllers/intents_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/intents_controller.rb b/app/controllers/intents_controller.rb index 41f13486..9f41cf48 100644 --- a/app/controllers/intents_controller.rb +++ b/app/controllers/intents_controller.rb @@ -5,7 +5,7 @@ class IntentsController < ApplicationController rescue_from Addressable::URI::InvalidURIError, with: :handle_invalid_uri def show - if uri.scheme == 'web+gabsocial' + if uri.scheme == 'web+mastodon' case uri.host when 'follow' return redirect_to authorize_interaction_path(uri: uri.query_values['uri'].gsub(/\Aacct:/, ''))