rm webrtc client for now
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user