WIP voice channels

This commit is contained in:
mplorentz
2026-02-24 13:49:13 -05:00
committed by hodlbod
parent 9fe155c118
commit 0daab7a46c
8 changed files with 377 additions and 1 deletions
+7
View File
@@ -55,6 +55,7 @@ import {
loadFeedsForPubkey,
} from "@app/core/state"
import {hasBlossomSupport} from "@app/core/commands"
import {LIVE_ACTIVITY, ROOM_PRESENCE} from "@app/voice"
// Utils
@@ -316,6 +317,12 @@ const syncSpace = (url: string, rooms: string[]) => {
})
}
pullAndListen({
url,
signal: controller.signal,
filters: [{kinds: [LIVE_ACTIVITY, ROOM_PRESENCE]}],
})
return () => controller.abort()
}