Skip to content

Commit

Permalink
Merge pull request #2306 from 6vision/master
Browse files Browse the repository at this point in the history
fix: Linkai voice configuration
  • Loading branch information
6vision authored Sep 18, 2024
2 parents a11d695 + 6bc7eeb commit e4e1e2e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/linkai_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,13 @@ def on_config(self, config: dict):
if reply_voice_mode:
if reply_voice_mode == "voice_reply_voice":
local_config["voice_reply_voice"] = True
local_config["always_reply_voice"] = False
elif reply_voice_mode == "always_reply_voice":
local_config["always_reply_voice"] = True
local_config["voice_reply_voice"] = True
elif reply_voice_mode == "no_reply_voice":
local_config["always_reply_voice"] = False
local_config["voice_reply_voice"] = False

if config.get("admin_password"):
if not plugin_config.get("Godcmd"):
Expand Down

0 comments on commit e4e1e2e

Please sign in to comment.