Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

streams: Remove a lie from the docstring.

Alex Vandiver628be8d433e2
diff --git a/zerver/lib/streams.py b/zerver/lib/streams.py
index 10107d95397..dad6ea24e44 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.