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.

post_process_state: Allow web public guests.

Aman Agrawalf46f2516883b
diff --git a/zerver/lib/events.py b/zerver/lib/events.py
index 02087530ffe..4196ed15f45 100644
--- a/zerver/lib/events.py
+++ b/zerver/lib/events.py
@@ -973,7 +973,7 @@ def do_events_register(user_profile: UserProfile, user_client: Client,
ret['last_event_id'] = -1
return ret
-def post_process_state(user_profile: UserProfile, ret: Dict[str, Any],
+def post_process_state(user_profile: Optional[UserProfile], ret: Dict[str, Any],
notification_settings_null: bool) -> None:
'''
NOTE: