Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_store: Mark optional attributes as optional.
evykassirer61371868ad7c
diff --git a/web/src/message_store.ts b/web/src/message_store.tsindex b5b1e5090df..e816f999b8e 100644--- a/web/src/message_store.ts+++ b/web/src/message_store.ts@@ -121,9 +121,11 @@ export type Message = (sent_by_me: boolean;reply_to: string;- // These properties are used in `message_list_view.js`.- message_reactions: MessageCleanReaction[];- url: string;+ // These properties are set and used in `message_list_view.js`.+ // TODO: It would be nice if we could not store these on the message+ // object and only reference them within `message_list_view`.+ message_reactions?: MessageCleanReaction[];+ url?: string;// Used in `markdown.js`, `server_events.js`, and `set_message_booleans`flags?: string[];