message_list_view: Add TODO for followup for later.

From comments from #31576.
This commit is contained in:
evykassirer
2024-09-11 15:14:04 -07:00
committed by Tim Abbott
parent c19b3b0826
commit d0c63be9be

View File

@@ -175,6 +175,9 @@ function analyze_edit_history(
}
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);
// We know it has a topic edit. Now we need to determine if
// it was a true move or a resolve/unresolve.