Bluetooth autoswitching does not support Telegram Desktop
This is caused by the following line in /usr/share/wireplumber/policy.lua.d/10-default-policy.lua:
["media-role.applications"] = { "Chromium input", "Firefox", "Google Chrome input", "ZOOM VoiceEngine" },
The following edit fixes the issue:
["media-role.applications"] = { "Chromium input", "Firefox", "Google Chrome input", "ZOOM VoiceEngine", "Telegram Desktop" },
I can send a pull request, but didn't want to do it before first checking. Let me know if this edit looks ok or if there was a specific reason why Telegram was excluded.