Skip to content
Snippets Groups Projects
Commit 796c5084 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

prevent traceback when trying to show event from gajim-remote while there is no event. Fixes #5031

parent ffd82a69
No related branches found
No related tags found
No related merge requests found
......@@ -346,6 +346,8 @@ class Systray:
def handle_first_event(self):
account, jid, event = gajim.events.get_first_systray_event()
if not event:
return
gajim.interface.handle_event(account, jid, event.type_)
def on_middle_click(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment