summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-05-22 18:23:51 +0200
committermathieui <mathieui@mathieui.net>2020-05-23 16:13:44 +0200
commitfaeab78c7e3c9f125cfbfe3dce0fb18c9b8649c4 (patch)
tree534654be974749c2f4ea0bc99451fb8da5c61843
parent8e5cc9265dd82cab25ecff38921e49b738e6fd3c (diff)
downloadpoezio-faeab78c7e3c9f125cfbfe3dce0fb18c9b8649c4.tar.gz
poezio-faeab78c7e3c9f125cfbfe3dce0fb18c9b8649c4.tar.bz2
poezio-faeab78c7e3c9f125cfbfe3dce0fb18c9b8649c4.tar.xz
poezio-faeab78c7e3c9f125cfbfe3dce0fb18c9b8649c4.zip
Remove remaining occurences of tab.last_stanza_id
-rw-r--r--poezio/mam.py1
-rw-r--r--poezio/tabs/basetabs.py2
2 files changed, 0 insertions, 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