Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
-
ee113209
by wurstsalat at 2021-12-12T23:46:08+01:00
1 changed file:
Changes:
| ... | ... | @@ -697,7 +697,8 @@ def allow_showing_notification(account: str) -> bool: |
| 697 | 697 |
return False
|
| 698 | 698 |
if app.settings.get('show_notifications_away'):
|
| 699 | 699 |
return True
|
| 700 |
- if app.account_is_available(account):
|
|
| 700 |
+ client = app.get_client(account)
|
|
| 701 |
+ if client.status == 'online':
|
|
| 701 | 702 |
return True
|
| 702 | 703 |
return False
|
| 703 | 704 |
|