Merge pull request #4421 from etactica/mos-nlocal-only-master

master: mosquitto: support notifications_local_only flag
This commit is contained in:
Jo-Philipp Wich 2020-10-30 21:26:22 +01:00 committed by GitHub
commit 31e73779fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -161,6 +161,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"))
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