Added initial support for direct messages, users need to open conversations for every dm

This commit is contained in:
2022-11-12 11:20:16 -06:00
parent 39fc982665
commit 81ff530a71
9 changed files with 109 additions and 41 deletions

View File

@@ -21,8 +21,7 @@ def find_item(item, listItems):
for i in range(0, len(listItems)):
if listItems[i].id == item.id:
return i
# Check also retweets.
if item.reblog != None and item.reblog.id == listItems[i].id:
if hasattr(item, "reblog") and item.reblog != None and item.reblog.id == listItems[i].id:
return i
return None