Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
ee113209 by wurstsalat at 2021-12-12T23:46:08+01:00
Helpers: Fix allow_showing_notification
- - - - -
1 changed file:
- gajim/common/helpers.py
Changes:
=====================================
gajim/common/helpers.py
=====================================
@@ -697,7 +697,8 @@ def allow_showing_notification(account: str) -> bool:
return False
if app.settings.get('show_notifications_away'):
return True
- if app.account_is_available(account):
+ client = app.get_client(account)
+ if client.status == 'online':
return True
return False
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/ee113209fcae27e6eb613bcf96bf05eb121885fe
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/ee113209fcae27e6eb613bcf96bf05eb121885fe
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits