auto-sync: 2026-05-18 13:04:50

This commit is contained in:
cfdaily
2026-05-18 13:04:50 +08:00
parent 772e52a251
commit 148ef6e417
+2 -2
View File
@@ -214,7 +214,7 @@ async def mail_summary():
meta = _mail_meta(t)
if not meta.get("is_read", False):
unread += 1
t = meta.get("type", "inform")
by_type[t] = by_type.get(t, 0) + 1
mtype = meta.get("type", "inform")
by_type[mtype] = by_type.get(mtype, 0) + 1
return {"total": total, "unread": unread, "by_type": by_type}