From ef6f5f9357d39c28ce726eebc403abf752f6313c Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 11 Jul 2025 18:35:06 +0200 Subject: [PATCH] Fix quote attributes missing from Mastodon's context (#35354) --- app/helpers/context_helper.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/helpers/context_helper.rb b/app/helpers/context_helper.rb index 33d7267905b..c8e871a2414 100644 --- a/app/helpers/context_helper.rb +++ b/app/helpers/context_helper.rb @@ -26,6 +26,12 @@ module ContextHelper suspended: { 'toot' => 'http://joinmastodon.org/ns#', 'suspended' => 'toot:suspended' }, attribution_domains: { 'toot' => 'http://joinmastodon.org/ns#', 'attributionDomains' => { '@id' => 'toot:attributionDomains', '@type' => '@id' } }, quote_requests: { 'QuoteRequest' => 'https://w3id.org/fep/044f#QuoteRequest' }, + quotes: { + 'quote' => 'https://w3id.org/fep/044f#quote', + 'quoteUri' => 'http://fedibird.com/ns#quoteUri', + '_misskey_quote' => 'https://misskey-hub.net/ns#_misskey_quote', + 'quoteAuthorization' => 'https://w3id.org/fep/044f#quoteAuthorization', + }, interaction_policies: { 'gts' => 'https://gotosocial.org/ns#', 'interactionPolicy' => { '@id' => 'gts:interactionPolicy', '@type' => '@id' },