streams: Remove a lie from the docstring.

This commit is contained in:
Alex Vandiver 2024-02-13 15:39:45 +00:00 committed by Tim Abbott
parent e04891779f
commit 628be8d433
1 changed files with 1 additions and 1 deletions

View File

@ -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:
"""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
historical messages before they joined for a narrowing search.