mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 15:09:34 +00:00
message_list_view: Add TODO for followup for later.
From comments from #31576.
This commit is contained in:
@@ -175,6 +175,9 @@ function analyze_edit_history(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (edit_history_event.prev_topic) {
|
if (edit_history_event.prev_topic) {
|
||||||
|
// TODO: Possibly this assert could be removed if we tightened the type
|
||||||
|
// on edit history elements such that a `prev_topic` being present means a
|
||||||
|
// `topic` element is.
|
||||||
assert(edit_history_event.topic !== undefined);
|
assert(edit_history_event.topic !== undefined);
|
||||||
// We know it has a topic edit. Now we need to determine if
|
// We know it has a topic edit. Now we need to determine if
|
||||||
// it was a true move or a resolve/unresolve.
|
// it was a true move or a resolve/unresolve.
|
||||||
|
|||||||
Reference in New Issue
Block a user