mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 08:27:27 +02:00
fix: remove unused imports and mark intentionally unused parameter
- Remove unused getTagValues import - Prefix providedEvent parameter with underscore to indicate intentional non-use (reserved for future relay hint extraction)
This commit is contained in:
@@ -16,7 +16,6 @@ import eventStore from "@/services/event-store";
|
||||
import pool from "@/services/relay-pool";
|
||||
import { publishEventToRelays } from "@/services/hub";
|
||||
import accountManager from "@/services/accounts";
|
||||
import { getTagValues } from "@/lib/nostr-utils";
|
||||
import { normalizeURL } from "applesauce-core/helpers";
|
||||
import { EventFactory } from "applesauce-core/event-factory";
|
||||
import { getNip10References } from "applesauce-common/helpers";
|
||||
@@ -637,7 +636,7 @@ export class Nip10Adapter extends ChatProtocolAdapter {
|
||||
*/
|
||||
private async getThreadRelays(
|
||||
rootEvent: NostrEvent,
|
||||
providedEvent: NostrEvent,
|
||||
_providedEvent: NostrEvent,
|
||||
providedRelays: string[],
|
||||
): Promise<string[]> {
|
||||
const relays = new Set<string>();
|
||||
|
||||
Reference in New Issue
Block a user