Forgotten changes

This commit is contained in:
mathieui 2011-11-10 11:29:17 +01:00
parent eaf67dc569
commit 138a0b78cd

View file

@ -1449,8 +1449,8 @@ class RosterInfoTab(Tab):
args = args.split() args = args.split()
if not args: if not args:
item = self.roster_win.selected_row item = self.roster_win.selected_row
if isinstance(item, Contact) and item.get_ask() == 'asked': if isinstance(item, Contact) and item.ask == 'asked':
jid = item.get_bare_jid() jid = item.bare_jid
else: else:
self.core.information('No subscription to deny') self.core.information('No subscription to deny')
return return
@ -1563,7 +1563,7 @@ class RosterInfoTab(Tab):
else: else:
item = self.roster_win.selected_row item = self.roster_win.selected_row
if isinstance(item, Contact): if isinstance(item, Contact):
jid = item.get_bare_jid() jid = item.bare_jid
else: else:
self.core.information('No roster item to remove') self.core.information('No roster item to remove')
return return
@ -1690,8 +1690,8 @@ class RosterInfoTab(Tab):
args = args.split() args = args.split()
if not args: if not args:
item = self.roster_win.selected_row item = self.roster_win.selected_row
if isinstance(item, Contact) and item.get_ask() == 'asked': if isinstance(item, Contact) and item.ask == 'asked':
jid = item.get_bare_jid() jid = item.bare_jid
else: else:
self.core.information('No subscription to accept') self.core.information('No subscription to accept')
return return