make sure we call the right event
This commit is contained in:
parent
6f768f2bb7
commit
afc98539d6
|
@ -1768,8 +1768,11 @@ class Interface:
|
||||||
if not event:
|
if not event:
|
||||||
# default to jid without resource
|
# default to jid without resource
|
||||||
event = gajim.events.get_first_event(account, jid, type_)
|
event = gajim.events.get_first_event(account, jid, type_)
|
||||||
# Open the window
|
# Open the window
|
||||||
self.roster.open_event(account, jid, event)
|
self.roster.open_event(account, jid, event)
|
||||||
|
else:
|
||||||
|
# Open the window
|
||||||
|
self.roster.open_event(account, fjid, event)
|
||||||
elif type_ == 'gmail':
|
elif type_ == 'gmail':
|
||||||
if gajim.config.get_per('accounts', account, 'savepass'):
|
if gajim.config.get_per('accounts', account, 'savepass'):
|
||||||
url = ('http://www.google.com/accounts/ServiceLoginAuth?service=mail&Email=%s&Passwd=%s&continue=https://mail.google.com/mail') %\
|
url = ('http://www.google.com/accounts/ServiceLoginAuth?service=mail&Email=%s&Passwd=%s&continue=https://mail.google.com/mail') %\
|
||||||
|
|
Loading…
Reference in New Issue