From 9ac6ca1545ba21bb366ec8df08b36b52b6ff5ee1 Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Tue, 13 Feb 2024 15:39:45 +0000 Subject: [PATCH] streams: Remove a lie from the docstring. (cherry picked from commit c118f1874e2278d0dc43b457465144eb4f49a20f) --- zerver/lib/streams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/lib/streams.py b/zerver/lib/streams.py index 10107d9539..dad6ea24e4 100644 --- a/zerver/lib/streams.py +++ b/zerver/lib/streams.py @@ -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.