mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
Private messages between a user and a bot are not restricted by the organization's policy setting for sending private messages. So, for the empty banner text, we set the default title for a single bot for the "pm-with" narrow. Group private messages that include a bot are restricted by this policy setting, so those messages stay the same. Also, since bot's aren't people, we update the text for valid "pm-with", "sender" and "group-pm-with" operands to include the user's full name in the title. When there are multiple people in the "pm-with" narrow, we still send a generic "these people" message instead of listing all the users in the narrow. Finally, we make the default message end in a period instead of an exclamation mark.