Add URL query params to "Mute hashtags" request to /filters

This commit is contained in:
Sebastian Hädrich 2025-06-22 00:29:06 +02:00 committed by GitHub
parent ac039d5f13
commit 81512ab4ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -116,7 +116,7 @@ export const HashtagMenuController: React.FC = () => {
text: intl.formatMessage(messages.muteHashtag, { text: intl.formatMessage(messages.muteHashtag, {
hashtag, hashtag,
}), }),
href: '/filters', href: `/filters?custom_filter[keywords_attributes][0][keyword]=${hashtag}&custom_filter[keywords_attributes][0][whole_word]=1`,
dangerous: true, dangerous: true,
}, },
], ],