diff options
author | 2024-01-03 03:46:28 +0100 | |
---|---|---|
committer | 2024-01-03 03:46:28 +0100 | |
commit | b0b9860f68b0a151841d0c145a11ea39c11fa66a (patch) | |
tree | dda676c476500bd08622ca0dc831f6f1da915bcb /src/models | |
parent | 6.7.1-nightly.2 [skip ci] (diff) | |
download | ferdium-app-b0b9860f68b0a151841d0c145a11ea39c11fa66a.tar.gz ferdium-app-b0b9860f68b0a151841d0c145a11ea39c11fa66a.tar.zst ferdium-app-b0b9860f68b0a151841d0c145a11ea39c11fa66a.zip |
Rudimentary DBus toggle-to-talk support (#1507)
Adds a ToggleToTalk method to the DBus interface to unmute/mute the
microphone in the active service if the recipe supports it.
We will need to add support for this feature in recipes.
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/Service.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/models/Service.ts b/src/models/Service.ts index b1f0bc271..da9fa43dd 100644 --- a/src/models/Service.ts +++ b/src/models/Service.ts | |||
@@ -641,4 +641,8 @@ export default class Service { | |||
641 | this.unreadDirectMessageCount = 0; | 641 | this.unreadDirectMessageCount = 0; |
642 | this.unreadIndirectMessageCount = 0; | 642 | this.unreadIndirectMessageCount = 0; |
643 | } | 643 | } |
644 | |||
645 | toggleToTalk(): void { | ||
646 | this.webview?.send('toggle-to-talk'); | ||
647 | } | ||
644 | } | 648 | } |