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: Fix typos in comments.

Kislay Vermaee8913e14b17
diff --git a/zerver/views/streams.py b/zerver/views/streams.py
index 97186dfbd29..a58fd3b60fb 100644
--- a/zerver/views/streams.py
+++ b/zerver/views/streams.py
@@ -894,10 +894,10 @@ def send_messages_for_new_subscribers(
if new_subscriptions:
for id, subscribed_stream_names in new_subscriptions.items():
if id == str(user_profile.id):
- # Don't send a Zulip if you invited yourself.
+ # Don't send a notification DM if you subscribed yourself.
continue
if bots[id]:
- # Don't send invitation Zulips to bots
+ # Don't send notification DMs to bots.
continue
# For each user, we notify them about newly subscribed streams, except for