mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-28 00:20:48 +00:00
if interface doesn't have enabled or interface_enabled setting already, enable it by default
This commit is contained in:
parent
36c22c508b
commit
dcfe850e84
1 changed files with 4 additions and 0 deletions
4
web.py
4
web.py
|
|
@ -272,6 +272,10 @@ class ReticulumWebChat:
|
|||
# update interface details
|
||||
interface_details["type"] = interface_type
|
||||
|
||||
# if interface doesn't have enabled or interface_enabled setting already, enable it by default
|
||||
if "enabled" not in interface_details and "interface_enabled" not in interface_details:
|
||||
interface_details["interface_enabled"] = "true"
|
||||
|
||||
# handle tcp client interface
|
||||
if interface_type == "TCPClientInterface":
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue