Work on fixing bugs and reformat

This commit is contained in:
2026-02-16 16:01:17 +00:00
parent 8ca1695fab
commit 3f82c27ab9
32 changed files with 1100 additions and 442 deletions

View File

@@ -25,9 +25,7 @@ def set_person_typing_state(
"source_service": str(source_service or ""),
"display_name": str(display_name or ""),
"updated_ts": now_ms,
"expires_ts": (
now_ms + (TYPING_TTL_SECONDS * 1000) if started else now_ms
),
"expires_ts": (now_ms + (TYPING_TTL_SECONDS * 1000) if started else now_ms),
}
cache.set(
_person_key(user_id, person_id),