Skip to content

Commit

Permalink
fix: [chat messages by year] fix subchannel nb_max
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Jan 6, 2025
1 parent 9e8ff18 commit b449127
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/lib/objects/abstract_chat_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ def get_nb_year_messages(self, year):
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

Expand Down

0 comments on commit b449127

Please sign in to comment.