Add Stage Check For InstantScreenshare
Some checks are pending
Test / Test (push) Waiting to run

This commit is contained in:
thororen1234 2025-04-07 13:59:18 -04:00
parent 3b3c508b0d
commit 5f55d06542
No known key found for this signature in database

View file

@ -41,7 +41,7 @@ async function startStream() {
if (!selected) return;
const channel = ChannelStore.getChannel(selected);
if (!PermissionStore.can(PermissionsBits.STREAM, channel)) return;
if (channel.type === 13 || !PermissionStore.can(PermissionsBits.STREAM, channel)) return;
if (settings.store.streamType === "screen") {
sources = await getDesktopSources(mediaEngine, ["screen"], null);