message: Remove unused star_status attribute.

Based on git log -S 'starred_status', it’s been unused since
4bf16ca9cc (#22746).
This commit is contained in:
evykassirer 2024-05-28 14:52:36 -07:00 committed by Tim Abbott
parent 1ce7c11705
commit 854b3868ac
2 changed files with 0 additions and 7 deletions

View File

@ -904,12 +904,6 @@ export class MessageListView {
// each other's data we will make a new message object to add data to
// for rendering.
const message_containers = messages.map((message) => {
if (message.starred) {
message.starred_status = $t({defaultMessage: "Unstar"});
} else {
message.starred_status = $t({defaultMessage: "Star"});
}
message.url = hash_util.by_conversation_and_time_url(message);
return {msg: message};

View File

@ -122,7 +122,6 @@ export type Message = (
reply_to: string;
// These properties are used in `message_list_view.js`.
starred_status: string;
message_reactions: MessageCleanReaction[];
url: string;