handle gc invitation in notify.py
This commit is contained in:
parent
2b725f05ba
commit
17b0ef3930
|
@ -121,6 +121,8 @@ class DesktopNotification:
|
||||||
ntype = 'transfer.complete'
|
ntype = 'transfer.complete'
|
||||||
elif event_type == _('New E-mail'):
|
elif event_type == _('New E-mail'):
|
||||||
ntype = 'gmail.notify'
|
ntype = 'gmail.notify'
|
||||||
|
elif event_type == _('Groupchat Invitation'):
|
||||||
|
ntype = 'im.invitation'
|
||||||
else:
|
else:
|
||||||
# default failsafe values
|
# default failsafe values
|
||||||
path_to_image = os.path.abspath(
|
path_to_image = os.path.abspath(
|
||||||
|
|
Loading…
Reference in New Issue