Mark channel as unread if the newest message time changed

This commit is contained in:
Fierelier 2020-11-27 16:07:07 +01:00
parent c7f8eda2ea
commit 19da651dac
1 changed files with 2 additions and 0 deletions

View File

@ -783,6 +783,8 @@ def discordClient(token):
guiLock.release()
setLastMessageTime(channel,newTime)
if not channel.id in unreadChannels:
unreadChannels.append(channel.id)
return True
async def fetchAllLostMessages():