1
0
Fork 0
forked from gitea/nas

Reject incoming QuoteRequest activities (#34480)

This commit is contained in:
Claire 2025-04-26 01:28:09 +02:00 committed by GitHub
parent 8f59b63176
commit ae3b7dd28d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 131 additions and 0 deletions

View file

@ -25,6 +25,7 @@ module ContextHelper
voters_count: { 'toot' => 'http://joinmastodon.org/ns#', 'votersCount' => 'toot:votersCount' },
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' },
}.freeze
def full_context