Forgotten changes
This commit is contained in:
parent
eaf67dc569
commit
138a0b78cd
1 changed files with 5 additions and 5 deletions
10
src/tabs.py
10
src/tabs.py
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue