mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 06:33:03 -04:00
This commit is contained in:
parent
3b3c508b0d
commit
5f55d06542
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ async function startStream() {
|
||||||
if (!selected) return;
|
if (!selected) return;
|
||||||
const channel = ChannelStore.getChannel(selected);
|
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") {
|
if (settings.store.streamType === "screen") {
|
||||||
sources = await getDesktopSources(mediaEngine, ["screen"], null);
|
sources = await getDesktopSources(mediaEngine, ["screen"], null);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue