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.

typing: Remove obsolete block comment.

Tim Abbott2a8e9db8f14f
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py
index cfcd93767f5..37b9c7d63c3 100644
--- a/zerver/lib/actions.py
+++ b/zerver/lib/actions.py
@@ -2239,14 +2239,6 @@ def check_send_typing_notification(sender: UserProfile, user_ids: List[int], ope
if len(user_ids) == 0:
raise JsonableError(_("Missing parameter: 'to' (recipient)"))
- """ The next chunk of code will go away when we upgrade old mobile
- users away from versions of mobile that send emails. For the
- small number of very outdated mobile clients, we do double work
- here in terms of fetching users, but this structure reduces lots
- of other unnecessary duplicated code and will make it convenient
- to mostly delete code when we desupport old versions of the
- app."""
-
if sender.id not in user_ids:
user_ids.append(sender.id)