mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
echo: Make type of content_type more specific.
The only LocalMessage is created in insert_local_message which has `content_type: "text/html"`. This change lets us create LocalMessage objects with data parsed from raw_message_schema.
This commit is contained in:
@@ -84,7 +84,7 @@ type LocalMessage = MessageRequestObject & {
|
||||
raw_content: string;
|
||||
flags: string[];
|
||||
is_me_message: boolean;
|
||||
content_type: string;
|
||||
content_type: "text/html";
|
||||
sender_email: string;
|
||||
sender_full_name: string;
|
||||
avatar_url?: string | null | undefined;
|
||||
|
Reference in New Issue
Block a user