mirror of https://github.com/zulip/zulip.git
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:
parent
1ce7c11705
commit
854b3868ac
|
@ -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};
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue