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