Compare commits

..

No commits in common. "main" and "v1.4.1" have entirely different histories.
main ... v1.4.1

4 changed files with 10 additions and 25 deletions

View File

@ -1,3 +1,3 @@
{
".": "1.4.2"
".": "1.4.1"
}

View File

@ -1,12 +1,5 @@
# Changelog
## [1.4.2](https://github.com/stoatchat/for-desktop/compare/v1.4.1...v1.4.2) (2026-07-17)
### Bug Fixes
* Don't send audio as undefined and instead omit it ([#241](https://github.com/stoatchat/for-desktop/issues/241)) ([dc20b6e](https://github.com/stoatchat/for-desktop/commit/dc20b6e232e184ce1053cfdc7b83550e69ea285a))
## [1.4.1](https://github.com/stoatchat/for-desktop/compare/v1.4.0...v1.4.1) (2026-07-16)

View File

@ -1,7 +1,7 @@
{
"name": "stoat-desktop",
"productName": "stoat-desktop",
"version": "1.4.2",
"version": "1.4.1",
"main": ".vite/build/main.js",
"repository": "stoatchat/desktop",
"scripts": {

View File

@ -202,14 +202,10 @@ export function createMainWindow() {
if (sources.length == 1) {
// TODO: Get audio to work with wayland
// See vencord for an implementation using a virtual microphone.
request.audioRequested
? callback({
video: sources[0],
audio: "loopback",
})
: callback({
video: sources[0],
});
callback({
video: sources[0],
audio: request.audioRequested ? "loopback" : undefined,
});
return;
}
ipcMain.once(
@ -218,14 +214,10 @@ export function createMainWindow() {
if (idx < 0 || idx > sources.length) {
callback({});
} else {
audio
? callback({
video: sources[idx],
audio: "loopback",
})
: callback({
video: sources[idx],
});
callback({
video: sources[idx],
audio: audio ? "loopback" : undefined,
});
}
},
);