From faeab78c7e3c9f125cfbfe3dce0fb18c9b8649c4 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 22 May 2020 18:23:51 +0200 Subject: Remove remaining occurences of tab.last_stanza_id --- poezio/mam.py | 1 - poezio/tabs/basetabs.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/poezio/mam.py b/poezio/mam.py index 49ccf017..371b34dd 100644 --- a/poezio/mam.py +++ b/poezio/mam.py @@ -147,7 +147,6 @@ async def retrieve_messages(tab: tabs.ChatTab, msg_count = 0 msgs = [] to_add = [] - last_stanza_id = tab.last_stanza_id try: async for rsm in results: for msg in rsm['mam']['results']: diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py index df2387dd..a42ee41b 100644 --- a/poezio/tabs/basetabs.py +++ b/poezio/tabs/basetabs.py @@ -492,8 +492,6 @@ class ChatTab(Tab): self._jid = jid #: Is the tab currently requesting MAM data? self.query_status = False - self.last_stanza_id = None - self._name = jid.full # type: Optional[str] self.text_win = windows.TextWin() self.directed_presence = None -- cgit v1.2.3