I would imagine you would add what @baris mentioned in here:
Link Preview Image nodebb-plugin-hide-contents/library.js at master · bubundas17/nodebb-plugin-hide-contentsContribute to bubundas17/nodebb-plugin-hide-contents development by creating an account on GitHub.
faviconGitHub (github.com)
if user is member of the poster set, return content as is