assign existing subscriptions to not_channel_ids

This commit is contained in:
Akinwale Ariwodola 2020-02-24 20:26:36 +01:00
parent 0db2c7e628
commit 0536f0e4bf

View file

@ -34,9 +34,9 @@ class SuggestedSubscriptionsGrid extends React.PureComponent {
if (!showNsfwContent) {
options.not_tags = MATURE_TAGS;
}
/* if (subscriptions && subscriptions.length > 0) {
if (subscriptions && subscriptions.length > 0) {
options.not_channel_ids = subscriptions.map(subscription => subscription.uri.split('#')[1]);
} */
}
return options;
}