mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
actions: Replace stream.add with stream.append in process_new_human_user.
stream is a list not a set. It used to be set and was changed to stream before getting merged.
This commit is contained in:
@@ -337,7 +337,7 @@ def process_new_human_user(user_profile, prereg_user=None, newsletter_data=None,
|
|||||||
default_stream_group_streams = default_stream_group.streams.all()
|
default_stream_group_streams = default_stream_group.streams.all()
|
||||||
for stream in default_stream_group_streams:
|
for stream in default_stream_group_streams:
|
||||||
if stream not in streams:
|
if stream not in streams:
|
||||||
streams.add(stream)
|
streams.append(stream)
|
||||||
|
|
||||||
bulk_add_subscriptions(streams, [user_profile], acting_user=acting_user)
|
bulk_add_subscriptions(streams, [user_profile], acting_user=acting_user)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user