Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

cache: Add `long_term_idle` in `realm_user_dict_fields`.

Hashir Sarwar9911ec3e6dcd
diff --git a/zerver/lib/cache.py b/zerver/lib/cache.py
index 274babb3d49..3223a3f6de7 100644
--- a/zerver/lib/cache.py
+++ b/zerver/lib/cache.py
@@ -454,7 +454,7 @@ realm_user_dict_fields: List[str] = [
'avatar_source', 'avatar_version', 'is_active',
'role', 'is_bot', 'realm_id', 'timezone',
'date_joined', 'bot_owner_id', 'delivery_email',
- 'bot_type',
+ 'bot_type', 'long_term_idle'
]
def realm_user_dicts_cache_key(realm_id: int) -> str: