diff --git a/src/systraywin32.py b/src/systraywin32.py index 89d63dfeb..edf3384a2 100644 --- a/src/systraywin32.py +++ b/src/systraywin32.py @@ -263,6 +263,8 @@ class SystrayWin32(systray.Systray): self.on_left_click() def add_jid(self, jid, account, typ): + if self.systray_winapi.notify_icon is None: + return systray.Systray.add_jid(self, jid, account, typ) nb = gajim.interface.roster.nb_unread