Try to broadcast in specific order
This commit is contained in:
1 parent
180b8c5aa5
commit
62233f0fd8
1 file changed
+1
-1
+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
|
||||
|
||||
Reference in new issue
Block a user