Skip to content

Commit 868ba9c

Browse files
committed
api [nfc]: Expand comments on kNotificationBotEmail
1 parent 8caf6dc commit 868ba9c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/api/constants.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,9 @@ export const kNoTopicTopic: string = '(no topic)';
2222
*/
2323
// Copied from
2424
// https://github.com/zulip/zulip/blob/f6f7e4c53/zproject/default_settings.py#L231 .
25-
// TODO: Make all servers give us a way to identify the notification bot.
25+
// The web app also makes the assumption that Notification Bot has this email:
26+
// https://github.com/zulip/zulip/blob/eec294b25/static/js/read_receipts.js#L22-L26
27+
// TODO: Make all servers give us a way to identify the notification bot, or
28+
// at least the messages it sends. E.g., the mooted "message type" concept:
29+
// https://chat.zulip.org/#narrow/stream/378-api-design/topic/message.20type.20field/near/1230581
2630
export const kNotificationBotEmail: string = '[email protected]';

0 commit comments

Comments
 (0)