mirror of https://github.com/zulip/zulip.git
streams: Remove a lie from the docstring.
(cherry picked from commit c118f1874e
)
This commit is contained in:
parent
a25ee8aad0
commit
9ac6ca1545
|
@ -575,7 +575,7 @@ def can_access_stream_user_ids(stream: Stream) -> Set[int]:
|
||||||
|
|
||||||
def can_access_stream_history(user_profile: UserProfile, stream: Stream) -> bool:
|
def can_access_stream_history(user_profile: UserProfile, stream: Stream) -> bool:
|
||||||
"""Determine whether the provided user is allowed to access the
|
"""Determine whether the provided user is allowed to access the
|
||||||
history of the target stream. The stream is specified by name.
|
history of the target stream.
|
||||||
|
|
||||||
This is used by the caller to determine whether this user can get
|
This is used by the caller to determine whether this user can get
|
||||||
historical messages before they joined for a narrowing search.
|
historical messages before they joined for a narrowing search.
|
||||||
|
|
Loading…
Reference in New Issue