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:
Evy Kassirer
2025-09-03 14:58:18 -07:00
committed by Tim Abbott
parent 31505e90f7
commit 7b18e026bb

View File

@@ -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;