Added avatar credit exclusion to profile interpolation.
This commit is contained in:
parent
b62c705b76
commit
f62e8d6bf6
2
common
2
common
|
|
@ -1 +1 @@
|
||||||
Subproject commit ec4b15ce33a3a6306ee5024935ed2966502d3019
|
Subproject commit 1374f90397872eb7d14d7d0f6cde6dd8f66796dc
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue