Closed Andrew-Collins closed 2 months ago
Looks great, thank you!
@Andrew-Collins This is a great addition, thank you! :pray:
And I believe that @benjajaja is correct that we don't get the focused state on startup, but only whenever the window changes. (And that doesn't always happen with every terminal either). Defaulting focused
to true
is the right move. :+1:
Hi,
This PR is to implement #276.
It does this by putting the
focused
state of the application into the store and then checks it in the notifications handler.This results in notifications being muted only if the room is currently displayed and the terminal is in focus.
If you would like a config entry to control this just let me know. :)