rm webrtc client for now

This commit is contained in:
Martti Malmi
2023-12-26 19:18:57 +02:00
parent 1f03a5ee5a
commit 6b88df96ab
7 changed files with 0 additions and 271 deletions

View File

@ -1,6 +1,5 @@
import { NostrEvent, OkResponse, SystemInterface } from "@snort/system";
import { removeUndefined } from "@snort/shared";
import { getWebRtcPool } from "@/webrtc";
export async function sendEventToRelays(
system: SystemInterface,
@ -8,7 +7,6 @@ export async function sendEventToRelays(
customRelays?: Array<string>,
setResults?: (x: Array<OkResponse>) => void,
) {
getWebRtcPool()?.send(ev);
if (customRelays) {
system.HandleEvent({ ...ev, relays: [] });
return removeUndefined(