summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 8016f86e..6170cb67 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -860,9 +860,10 @@ class RosterInfoTab(Tab):
class ConversationTab(ChatTab):
"""
- The tab containg a normal conversation (someone from our roster)
+ The tab containg a normal conversation (not from a MUC)
"""
- def __init__(self, core, text_buffer, jid):
+ def __init__(self, core, jid):
+ text_buffer = windows.TextBuffer()
ChatTab.__init__(self, core, text_buffer)
self.color_state = theme.COLOR_TAB_NORMAL
self._name = jid # a conversation tab is linked to one specific full jid OR bare jid
@@ -890,9 +891,6 @@ class ConversationTab(ChatTab):
self.core.add_message_to_text_buffer(self.get_room(), line, None, self.core.own_nick)
def command_unquery(self, arg):
- """
- /unquery
- """
self.core.close_tab()
def resize(self):