mirror of
https://github.com/zulip/zulip.git
synced 2025-10-25 17:14:02 +00:00
refactor: Replace HUDDLE with DIRECT_MESSAGE_GROUP.
Replaced HUDDLE attribute with DIRECT_MESSAGE_GROUP using VS Code search, part of a general renaming of the object class. Fixes part of #28640. Co-authored-by: JohnLu2004 <JohnLu10212004@gmail.com>
This commit is contained in:
@@ -51,7 +51,7 @@ def get_recipient_from_user_profiles(
|
||||
huddle = get_or_create_huddle(user_ids)
|
||||
return Recipient(
|
||||
id=huddle.recipient_id,
|
||||
type=Recipient.HUDDLE,
|
||||
type=Recipient.DIRECT_MESSAGE_GROUP,
|
||||
type_id=huddle.id,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user