basetabs: Remove remote_wants_chatstates stubs.

This commit is contained in:
Emmanuel Gil Peyrot 2018-07-28 13:31:47 +02:00
parent 3006569ef5
commit 0340175857

View file

@ -507,10 +507,6 @@ class ChatTab(Tab):
for message in logs: for message in logs:
self._text_buffer.add_message(**message) self._text_buffer.add_message(**message)
@property
def remote_wants_chatstates(self) -> bool:
return True
@property @property
def general_jid(self) -> JID: def general_jid(self) -> JID:
return NotImplementedError return NotImplementedError
@ -816,14 +812,6 @@ class OneToOneTab(ChatTab):
msg += 'show: %s, ' % SHOW_NAME[status.show] msg += 'show: %s, ' % SHOW_NAME[status.show]
self.add_message(msg[:-2], typ=2) self.add_message(msg[:-2], typ=2)
@property
def remote_wants_chatstates(self):
return True
@remote_wants_chatstates.setter
def remote_wants_chatstates(self, value):
pass
def ack_message(self, msg_id, msg_jid): def ack_message(self, msg_id, msg_jid):
""" """
Ack a message Ack a message