mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
send_message: Allow message to be sent to a huddle.
This commit is contained in:
@@ -283,7 +283,7 @@ class ZulipTestCase(TestCase):
|
||||
content=u"test content", subject=u"test", **kwargs):
|
||||
# type: (Text, Union[Text, List[Text]], int, Text, Text, **Any) -> int
|
||||
sender = get_user_profile_by_email(sender_name)
|
||||
if message_type == Recipient.PERSONAL:
|
||||
if message_type in [Recipient.PERSONAL, Recipient.HUDDLE]:
|
||||
message_type_name = "private"
|
||||
else:
|
||||
message_type_name = "stream"
|
||||
|
||||
Reference in New Issue
Block a user