Disable ems init order-dialog notifications by default
parent
af068c5c51
commit
ed434e284b
|
@ -330,6 +330,9 @@ class Router(Struct):
|
||||||
# broker to book map
|
# broker to book map
|
||||||
books: dict[str, DarkBook] = {}
|
books: dict[str, DarkBook] = {}
|
||||||
|
|
||||||
|
# NOTE: disable for since stupid "dunst"
|
||||||
|
notify_on_order_loads: bool = False
|
||||||
|
|
||||||
# sets of clients mapped from subscription keys
|
# sets of clients mapped from subscription keys
|
||||||
subscribers: defaultdict[
|
subscribers: defaultdict[
|
||||||
str, # sub key, default fqme
|
str, # sub key, default fqme
|
||||||
|
@ -617,6 +620,7 @@ class Router(Struct):
|
||||||
|
|
||||||
if (
|
if (
|
||||||
not sent_some
|
not sent_some
|
||||||
|
and self.notify_on_order_loads
|
||||||
and notify_on_headless
|
and notify_on_headless
|
||||||
):
|
):
|
||||||
log.info(
|
log.info(
|
||||||
|
|
Loading…
Reference in New Issue