mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
message: Remove unused recipient_id.
I confirmed this isn't used in any .hbs templates, so it doesn't seem to be being used anywhere.
This commit is contained in:
@@ -75,7 +75,6 @@ for msg in result["messages"]:
|
||||
"edit_history",
|
||||
"topic_links",
|
||||
"avatar_url",
|
||||
"recipient_id",
|
||||
"content_type",
|
||||
"client",
|
||||
"sender_realm_str",
|
||||
|
@@ -76,7 +76,6 @@ export const raw_message_schema = z.intersection(
|
||||
last_edit_timestamp: z.optional(z.number()),
|
||||
last_moved_timestamp: z.optional(z.number()),
|
||||
reactions: z.array(message_reaction_schema),
|
||||
recipient_id: z.number(),
|
||||
sender_email: z.string(),
|
||||
sender_full_name: z.string(),
|
||||
sender_id: z.number(),
|
||||
|
@@ -615,7 +615,6 @@ type ConversationContext = {
|
||||
is_private: true;
|
||||
user_ids_string: string;
|
||||
rendered_pm_with_html: string;
|
||||
recipient_id: number;
|
||||
pm_url: string;
|
||||
is_group: boolean;
|
||||
is_bot: boolean;
|
||||
@@ -725,7 +724,6 @@ function format_conversation(conversation_data: ConversationData): ConversationC
|
||||
}),
|
||||
)
|
||||
.sort();
|
||||
const recipient_id = last_msg.recipient_id;
|
||||
const pm_url = last_msg.pm_with_url;
|
||||
const is_group = last_msg.display_recipient.length > 2;
|
||||
const has_unread_mention =
|
||||
@@ -764,7 +762,6 @@ function format_conversation(conversation_data: ConversationData): ConversationC
|
||||
"long",
|
||||
"conjunction",
|
||||
),
|
||||
recipient_id,
|
||||
pm_url,
|
||||
is_group,
|
||||
is_bot,
|
||||
|
@@ -51,7 +51,6 @@ export const server_message_schema = z.intersection(
|
||||
last_edit_timestamp: z.optional(z.number()),
|
||||
last_moved_timestamp: z.optional(z.number()),
|
||||
reactions: message_reaction_schema,
|
||||
recipient_id: z.number(),
|
||||
sender_email: z.string(),
|
||||
sender_full_name: z.string(),
|
||||
sender_id: z.number(),
|
||||
|
Reference in New Issue
Block a user