Added avatar credit exclusion to profile interpolation.
This commit is contained in:
2
common
2
common
Submodule common updated: ec4b15ce33...1374f90397
@@ -334,6 +334,16 @@ module.exports = {
|
|||||||
'pornhub',
|
'pornhub',
|
||||||
'freeones',
|
'freeones',
|
||||||
],
|
],
|
||||||
|
interpolation: {
|
||||||
|
excludeAvatarCredits: [ // never allow
|
||||||
|
'Pierre Woodman',
|
||||||
|
],
|
||||||
|
avoidAvatarCredits: [ // only allow as last resort
|
||||||
|
'AnalVids',
|
||||||
|
'Bang!',
|
||||||
|
'Cherry Pimps',
|
||||||
|
],
|
||||||
|
},
|
||||||
options: {
|
options: {
|
||||||
traxxx: {
|
traxxx: {
|
||||||
// source: 'http://nsfw.unknown.name/random',
|
// source: 'http://nsfw.unknown.name/random',
|
||||||
|
|||||||
@@ -376,7 +376,10 @@ async function interpolateProfiles(actorIdsOrNames, refreshView) {
|
|||||||
const { interpolateProfiles: interpolateProfilesUtil } = await actorsCommon;
|
const { interpolateProfiles: interpolateProfilesUtil } = await actorsCommon;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await interpolateProfilesUtil(actorIdsOrNames, commonContext, { refreshView });
|
await interpolateProfilesUtil(actorIdsOrNames, commonContext, {
|
||||||
|
refreshView,
|
||||||
|
...config.interpolation,
|
||||||
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user