1
0

fix: build failing problem

This commit is contained in:
オスカー、 2024-04-07 21:34:57 +09:00
parent 209d2aeff9
commit b5182a7115
2 changed files with 3 additions and 2 deletions

View File

@ -16,8 +16,8 @@ import { getAccountHidden } from 'mastodon/selectors';
import { lookupAccount, fetchAccount } from '../../actions/accounts'; import { lookupAccount, fetchAccount } from '../../actions/accounts';
import { fetchFeaturedTags } from '../../actions/featured_tags'; import { fetchFeaturedTags } from '../../actions/featured_tags';
import { expandAccountDirectTimeline} from '../../actions/timelines'; import { expandAccountDirectTimeline } from '../../actions/timelines';
import ColumnBackButton from '../../components/column_back_button'; import { ColumnBackButton } from '../../components/column_back_button';
import { LoadingIndicator } from '../../components/loading_indicator'; import { LoadingIndicator } from '../../components/loading_indicator';
import StatusList from '../../components/status_list'; import StatusList from '../../components/status_list';
import Column from '../ui/components/column'; import Column from '../ui/components/column';

View File

@ -206,6 +206,7 @@ class NotifyService < BaseService
def update_notification_request! def update_notification_request!
return unless @notification.type == :mention return unless @notification.type == :mention
end
def optional_non_following? def optional_non_following?
@recipient.user.settings['interactions.must_be_following'] && !following_sender? @recipient.user.settings['interactions.must_be_following'] && !following_sender?