Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_edit: Fix typo in old_stream_unsubbed_guests.
Tim Abbott03cf3edf4278
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.pyindex f8321784668..b4366afb46c 100644--- a/zerver/lib/actions.py+++ b/zerver/lib/actions.py@@ -4675,12 +4675,13 @@ def do_update_message(user_profile: UserProfile, message: Message,# is not an option.# Don't send this event to guest subs who are not subscrbied to the old stream but# are subscribed to the new stream- old_stream_unsubed_guests = [+ old_stream_unsubbed_guests = [sub for sub in subs_to_new_streamif sub.user_profile.is_guestand sub.user_profile_id not in subscriber_ids]- subscribers = subscribers.exclude(user_profile_id__in=[sub.user_profile_id for sub in old_stream_unsubed_guests])+ subscribers = subscribers.exclude(user_profile_id__in=[+ sub.user_profile_id for sub in old_stream_unsubbed_guests])subscriber_ids = [user.user_profile_id for user in subscribers]users_to_be_notified += list(map(subscriber_info, subscriber_ids))