diff --git a/crates/sprout-db/src/lib.rs b/crates/sprout-db/src/lib.rs index ca01f76f..052dc204 100644 --- a/crates/sprout-db/src/lib.rs +++ b/crates/sprout-db/src/lib.rs @@ -604,6 +604,7 @@ impl Db { channel_id: Uuid, limit: u32, before_cursor: Option>, + since_cursor: Option>, kind_filter: Option<&[u32]>, ) -> Result> { thread::get_channel_messages_top_level( @@ -611,6 +612,7 @@ impl Db { channel_id, limit, before_cursor, + since_cursor, kind_filter, ) .await diff --git a/crates/sprout-db/src/thread.rs b/crates/sprout-db/src/thread.rs index decde54e..cec99c06 100644 --- a/crates/sprout-db/src/thread.rs +++ b/crates/sprout-db/src/thread.rs @@ -480,14 +480,19 @@ pub async fn get_thread_summary(pool: &PgPool, event_id: &[u8]) -> Result