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:
John Lu
2024-03-21 19:39:33 -04:00
committed by GitHub
parent 224b484195
commit a5cf0ec526
30 changed files with 80 additions and 61 deletions

View File

@@ -616,7 +616,7 @@ def use_db_models(
Recipient = apps.get_model("zerver", "Recipient")
Recipient.PERSONAL = 1
Recipient.STREAM = 2
Recipient.HUDDLE = 3
Recipient.DIRECT_MESSAGE_GROUP = 3
ScheduledEmail = apps.get_model("zerver", "ScheduledEmail")
ScheduledMessage = apps.get_model("zerver", "ScheduledMessage")
Service = apps.get_model("zerver", "Service")