diff options
author | Sebastian Krzyszkowiak <dos@dosowisko.net> | 2023-07-27 00:34:40 +0200 |
---|---|---|
committer | Sebastian Krzyszkowiak <dos@dosowisko.net> | 2023-07-27 00:34:40 +0200 |
commit | e7b3d72a4037960883946aec95d66d79d68bc8ac (patch) | |
tree | 186d38f98bbbe8b642f4af89b0fbf705b7533ca6 | |
parent | 7cded1f8bbbc85ea6ca57c515b9988130e85726f (diff) |
luci-app-mosquitto: fix notifications_local_only flag
The option wasn't being applied at all because of a typo.
Fixes: 596c2919f6b2 ("mosquitto: support notifications_local_only flag")
Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net>
-rw-r--r-- | applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua b/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua index 66591f0bed..c4a83b57ff 100644 --- a/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua +++ b/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua @@ -162,7 +162,7 @@ OptionalFlag(s, "cleansession", _("Clean session")) OptionalFlag(s, "notifications", _("notifications"), _("Attempt to notify the local and remote broker of connection status, defaults to $SYS/broker/connections/<clientid>/state")) s:option(Value, "notification_topic", _("Topic to use for local+remote remote for notifications.")).optional = true -OptionalFlag(s, "notification_local_only", _("Notifications local only"), _("Bridge connection states should only be published locally")) +OptionalFlag(s, "notifications_local_only", _("Notifications local only"), _("Bridge connection states should only be published locally")) s:option(Value, "remote_clientid", _("Client id to use on remote end of this bridge connection")).optional = true s:option(Value, "local_clientid", _("Client id to use locally. Important when bridging to yourself")).optional = true |