Allow disabling feed injection

This commit is contained in:
Alex Gleason
2022-11-27 21:05:39 -06:00
parent 3a489f98d2
commit 84edb651ad
3 changed files with 17 additions and 1 deletions

View File

@ -189,7 +189,9 @@ const StatusList: React.FC<IStatusList> = ({
if (statusId === null) {
acc.push(renderLoadGap(index));
} else if (statusId.startsWith('末suggestions-')) {
acc.push(renderFeedSuggestions());
if (soapboxConfig.feedInjection) {
acc.push(renderFeedSuggestions());
}
} else if (statusId.startsWith('末pending-')) {
acc.push(renderPendingStatus(statusId));
} else {