r = App().content_moderation_filtering_2(est(), res, funcall, kwargs)
function is_hidden(pubkey::Nostr.PubKeyId) periodic_unblocked_pubkeys() do if isfile(DEFAULT_UNBLOCKED_PUBKEYS_FILE[]) copy!(access_pubkey_unblocked, Set(try [Nostr.PubKeyId(pk) for (pk, _) in JSON.parse(read(DEFAULT_UNBLOCKED_PUBKEYS_FILE[], String))] catch _; [] end)) end end
(pubkey in access_pubkey_blocked || pubkey in import_pubkey_blocked) && !(pubkey in access_pubkey_unblocked)
r = App().content_moderation_filtering_2(est(), res, funcall, kwargs)
function is_hidden(pubkey::Nostr.PubKeyId)
periodic_unblocked_pubkeys() do
if isfile(DEFAULT_UNBLOCKED_PUBKEYS_FILE[])
copy!(access_pubkey_unblocked,
Set(try [Nostr.PubKeyId(pk) for (pk, _) in JSON.parse(read(DEFAULT_UNBLOCKED_PUBKEYS_FILE[], String))]
catch _; [] end))
end
end
(pubkey in access_pubkey_blocked || pubkey in import_pubkey_blocked) && !(pubkey in access_pubkey_unblocked)end