fix typo
This commit is contained in:
parent
5b8a2c736b
commit
5b1d6457d9
|
@ -119,8 +119,8 @@ parser = optparser.OptionsParser(config_filename)
|
||||||
|
|
||||||
class Contact:
|
class Contact:
|
||||||
'''Information concerning each contact'''
|
'''Information concerning each contact'''
|
||||||
def __init__(self, jid='', name='', groups=[], show='', status='', sub='',\
|
def __init__(self, jid='', name='', groups=[], show='', status='', sub='',
|
||||||
ask='', resource='', priority=5, keyID='', role='', affiliation='',\
|
ask='', resource='', priority=5, keyID='', role='', affiliation='',
|
||||||
chatstate=None):
|
chatstate=None):
|
||||||
self.jid = jid
|
self.jid = jid
|
||||||
self.name = name
|
self.name = name
|
||||||
|
@ -836,7 +836,7 @@ class Interface:
|
||||||
ft.show_request_error(file_props)
|
ft.show_request_error(file_props)
|
||||||
return
|
return
|
||||||
|
|
||||||
self.plugin.add_event(account, jid, 'file-request-error', file_props)
|
self.add_event(account, jid, 'file-request-error', file_props)
|
||||||
|
|
||||||
if gajim.show_notification(account):
|
if gajim.show_notification(account):
|
||||||
# check if we should be notified
|
# check if we should be notified
|
||||||
|
@ -860,7 +860,7 @@ class Interface:
|
||||||
file_props)
|
file_props)
|
||||||
return
|
return
|
||||||
|
|
||||||
self.plugin.add_event(account, jid, 'file-request', file_props)
|
self.add_event(account, jid, 'file-request', file_props)
|
||||||
|
|
||||||
if gajim.show_notification(account):
|
if gajim.show_notification(account):
|
||||||
instance = dialogs.PopupNotificationWindow(self,
|
instance = dialogs.PopupNotificationWindow(self,
|
||||||
|
|
Loading…
Reference in New Issue