summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-10 11:29:17 +0100
committermathieui <mathieui@mathieui.net>2011-11-10 11:29:36 +0100
commit138a0b78cd17ff508be80c5c54b98b1a3fcce8d6 (patch)
tree66860459fff4e51830269a55e930ba0605b7fc1b
parenteaf67dc569583adbfd83bd9f0ec3a5eeb2737d84 (diff)
downloadpoezio-138a0b78cd17ff508be80c5c54b98b1a3fcce8d6.tar.gz
poezio-138a0b78cd17ff508be80c5c54b98b1a3fcce8d6.tar.bz2
poezio-138a0b78cd17ff508be80c5c54b98b1a3fcce8d6.tar.xz
poezio-138a0b78cd17ff508be80c5c54b98b1a3fcce8d6.zip
Forgotten changes
-rw-r--r--src/tabs.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 7639f54f..64eda75a 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -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