preserve legacy rollout lookup behavior

This commit is contained in:
anais
2026-06-15 13:48:54 -07:00
parent 0a1bb6927d
commit 181d8b175a
2 changed files with 5 additions and 2 deletions
@@ -49,7 +49,8 @@ pub(super) async fn read_thread(
.await;
let mut thread = stored_thread_from_sqlite_metadata(store, metadata).await;
if !params.include_history || rollout_thread.is_some() {
if let Some(mut rollout_thread) = rollout_thread
if !params.include_history
&& let Some(mut rollout_thread) = rollout_thread
&& !rollout_thread.preview.is_empty()
{
if thread.name.is_some() {