mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
post_process_state: Allow web public guests.
Because the logic already works correctly, we just need to change mypy types.
This commit is contained in:
@@ -973,7 +973,7 @@ def do_events_register(user_profile: UserProfile, user_client: Client,
|
|||||||
ret['last_event_id'] = -1
|
ret['last_event_id'] = -1
|
||||||
return ret
|
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:
|
notification_settings_null: bool) -> None:
|
||||||
'''
|
'''
|
||||||
NOTE:
|
NOTE:
|
||||||
|
|||||||
Reference in New Issue
Block a user