Daniel Brötzmann pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/common/helpers.py
    ... ... @@ -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