summaryrefslogtreecommitdiff
path: root/poezio/tabs/basetabs.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-10-14 21:38:10 +0200
committermathieui <mathieui@mathieui.net>2017-10-14 21:42:44 +0200
commit74ba7a85e6aace87fb4993cb99c83619a205a419 (patch)
treeaff347aff2276593063fa65cea5846c4a66e1dc7 /poezio/tabs/basetabs.py
parent16bdfdfe8159f3813221b9023b5b49bd6c570863 (diff)
downloadpoezio-74ba7a85e6aace87fb4993cb99c83619a205a419.tar.gz
poezio-74ba7a85e6aace87fb4993cb99c83619a205a419.tar.bz2
poezio-74ba7a85e6aace87fb4993cb99c83619a205a419.tar.xz
poezio-74ba7a85e6aace87fb4993cb99c83619a205a419.zip
Fix a traceback when creating a conversation tab
Diffstat (limited to 'poezio/tabs/basetabs.py')
-rw-r--r--poezio/tabs/basetabs.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py
index a0b4f4da..0570be27 100644
--- a/poezio/tabs/basetabs.py
+++ b/poezio/tabs/basetabs.py
@@ -451,7 +451,7 @@ class ChatTab(Tab):
Tab.__init__(self, core)
self.name = jid
self.text_win = None
- self.remote_wants_chatstates = False
+ self._remote_wants_chatstates = False
self.directed_presence = None
self._text_buffer = TextBuffer()
self.chatstate = None # can be "active", "composing", "paused", "gone", "inactive"
@@ -489,6 +489,10 @@ class ChatTab(Tab):
self._text_buffer.add_message(**message)
@property
+ def remote_wants_chatstates(self):
+ return self._remote_wants_chatstates
+
+ @property
def general_jid(self):
return NotImplementedError