diff options
author | mathieui <mathieui@mathieui.net> | 2013-01-19 16:20:17 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-01-19 16:20:17 +0100 |
commit | bedf22574934fa569e3c6fcd487033366c7408e4 (patch) | |
tree | a03f54138ed2275eff6c6ad57400f77c54742306 /src/tabs.py | |
parent | 2d9d22dae90f48e439d038f2a37c976a95937698 (diff) | |
download | poezio-bedf22574934fa569e3c6fcd487033366c7408e4.tar.gz poezio-bedf22574934fa569e3c6fcd487033366c7408e4.tar.bz2 poezio-bedf22574934fa569e3c6fcd487033366c7408e4.tar.xz poezio-bedf22574934fa569e3c6fcd487033366c7408e4.zip |
Fix get_version and get_room_form
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/tabs.py b/src/tabs.py index ce58f8fd..2e39988d 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -23,6 +23,7 @@ from gettext import gettext as _ import windows import curses +import fixes import difflib import string import common @@ -898,7 +899,7 @@ class MucTab(ChatTab): self.core.information(info, 'Info') def command_configure(self, arg): - form = self.core.xmpp.plugin['xep_0045'].getRoomForm(self.get_name()) + form = fixes.get_room_form(self.core.xmpp, self.get_name()) if not form: self.core.information('Could not retrieve the configuration form', 'Error') return @@ -971,7 +972,7 @@ class MucTab(ChatTab): jid = safeJID(jid + '/' + arg) else: jid = safeJID(arg) - self.core.xmpp.plugin['xep_0092'].get_version(jid, callback=callback) + fixes.get_version(self.core.xmpp, jid, callback=callback) def command_nick(self, arg): """ @@ -1878,7 +1879,7 @@ class PrivateTab(ChatTab): if arg: return self.core.command_version(arg) jid = safeJID(self.name) - self.core.xmpp.plugin['xep_0092'].get_version(jid, callback=callback) + fixes.get_version(self.core.xmpp, jid, callback=callback) def command_info(self, arg): """ @@ -3058,7 +3059,7 @@ class ConversationTab(ChatTab): if jid in roster: resource = roster[jid].get_highest_priority_resource() jid = resource.jid if resource else jid - self.core.xmpp.plugin['xep_0092'].get_version(jid, callback=callback) + fixes.get_version(self.core.xmpp, jid, callback=callback) def resize(self): if self.core.information_win_size >= self.height-3 or not self.visible: |