fix: [chat messages by year] fix subchannel nb_max

master
terrtia 2025-01-06 16:48:24 +01:00
parent 9e8ff182e7
commit b4491270b9
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 0 deletions

View File

@ -262,6 +262,7 @@ class AbstractChatObject(AbstractSubtypeObject, ABC):
if date not in nb_year:
nb_year[date] = 0
nb_year[date] += 1
nb_max = max(nb_max, nb_year[date])
return nb_max, nb_year