mirror of
https://github.com/lumina-rocks/lumina.git
synced 2026-06-06 02:31:16 +02:00
Implement upload from URL and enhanced reels interface
Co-authored-by: mroxso <24775431+mroxso@users.noreply.github.com>
This commit is contained in:
@@ -2,6 +2,11 @@ import { Event as NostrEvent, finalizeEvent} from "nostr-tools";
|
||||
import { hexToBytes } from "@noble/hashes/utils"
|
||||
import { signEventWithBunker } from "./bunkerUtils";
|
||||
|
||||
// Simple blacklist for pubkeys (can be expanded later)
|
||||
export const blacklistPubkeys = new Set<string>([
|
||||
// Add any blacklisted pubkeys here if needed
|
||||
]);
|
||||
|
||||
// Check if the event has nsfw or sexy tags
|
||||
export function hasNsfwContent(tags: string[][]): boolean {
|
||||
return tags.some(tag =>
|
||||
|
||||
Reference in New Issue
Block a user