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',
|
||||
'freeones',
|
||||
],
|
||||
interpolation: {
|
||||
excludeAvatarCredits: [ // never allow
|
||||
'Pierre Woodman',
|
||||
],
|
||||
avoidAvatarCredits: [ // only allow as last resort
|
||||
'AnalVids',
|
||||
'Bang!',
|
||||
'Cherry Pimps',
|
||||
],
|
||||
},
|
||||
options: {
|
||||
traxxx: {
|
||||
// source: 'http://nsfw.unknown.name/random',
|
||||
|
|
|
|||
|
|
@ -376,7 +376,10 @@ async function interpolateProfiles(actorIdsOrNames, refreshView) {
|
|||
const { interpolateProfiles: interpolateProfilesUtil } = await actorsCommon;
|
||||
|
||||
try {
|
||||
await interpolateProfilesUtil(actorIdsOrNames, commonContext, { refreshView });
|
||||
await interpolateProfilesUtil(actorIdsOrNames, commonContext, {
|
||||
refreshView,
|
||||
...config.interpolation,
|
||||
});
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue