Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
itsthejoker committed Sep 22, 2022
1 parent 7937f0b commit 11dcfbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bubbles/commands/periodic/modmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ def process_modmail(message_state: str) -> None:
def modmail_callback() -> None:
unread_counts: dict[str, int] = sub.modmail.unread_count()

for message_state, count in unread_counts:
for message_state, count in unread_counts.items():
if count > 0:
process_modmail(message_state)

0 comments on commit 11dcfbc

Please sign in to comment.