Remove remaining occurences of tab.last_stanza_id

This commit is contained in:
mathieui 2020-05-22 18:23:51 +02:00
parent 8e5cc9265d
commit faeab78c7e
2 changed files with 0 additions and 3 deletions

View file

@ -147,7 +147,6 @@ async def retrieve_messages(tab: tabs.ChatTab,
msg_count = 0 msg_count = 0
msgs = [] msgs = []
to_add = [] to_add = []
last_stanza_id = tab.last_stanza_id
try: try:
async for rsm in results: async for rsm in results:
for msg in rsm['mam']['results']: for msg in rsm['mam']['results']:

View file

@ -492,8 +492,6 @@ class ChatTab(Tab):
self._jid = jid self._jid = jid
#: Is the tab currently requesting MAM data? #: Is the tab currently requesting MAM data?
self.query_status = False self.query_status = False
self.last_stanza_id = None
self._name = jid.full # type: Optional[str] self._name = jid.full # type: Optional[str]
self.text_win = windows.TextWin() self.text_win = windows.TextWin()
self.directed_presence = None self.directed_presence = None