Try to broadcast in specific order

This commit is contained in:
Kgothatso Ngako committed 2026-07-28 09:50:37 +02:00
1 parent 180b8c5aa5
commit 62233f0fd8
1 file changed
+1 -1
@@ -9,7 +9,7 @@ import kotlinx.coroutines.flow.Flow
@Dao
interface MarmotInnerEventDao {
@Query("SELECT * FROM MarmotInnerEvent WHERE publicKey = :publicKey AND marmotGroupEventId IS NULL")
@Query("SELECT * FROM MarmotInnerEvent WHERE publicKey = :publicKey AND marmotGroupEventId IS NULL ORDER BY createdAt ASC")
fun observeUnprocessedMarmotInnerEvents(publicKey: String): Flow<MarmotInnerEvent?>
@Upsert