mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
typing: Add none-checks for stream.recipient_id.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
944e602788
commit
058dab5818
@@ -792,6 +792,7 @@ def get_topics_backend(
|
||||
|
||||
(stream, sub) = access_stream_by_id(user_profile, stream_id)
|
||||
|
||||
assert stream.recipient_id is not None
|
||||
result = get_topic_history_for_stream(
|
||||
user_profile=user_profile,
|
||||
recipient_id=stream.recipient_id,
|
||||
|
||||
Reference in New Issue
Block a user