luci-app-mosquitto: fix notifications_local_only flag
The option wasn't being applied at all because of a typo.
Fixes: 596c2919f6
("mosquitto: support notifications_local_only flag")
Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net>
This commit is contained in:
parent
7cded1f8bb
commit
e7b3d72a40
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ OptionalFlag(s, "cleansession", _("Clean session"))
|
||||||
OptionalFlag(s, "notifications", _("notifications"),
|
OptionalFlag(s, "notifications", _("notifications"),
|
||||||
_("Attempt to notify the local and remote broker of connection status, defaults to $SYS/broker/connections/<clientid>/state"))
|
_("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
|
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, "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
|
s:option(Value, "local_clientid", _("Client id to use locally. Important when bridging to yourself")).optional = true
|
||||||
|
|
Loading…
Reference in a new issue