Don't find deleted chat by Id

This commit is contained in:
Kgothatso Ngako committed 2026-07-13 00:54:24 +02:00
1 parent 33ab19f1c6
commit 04604c858d
1 file changed
+1 -1
@@ -12,7 +12,7 @@ import kotlinx.coroutines.flow.Flow
@Dao
interface ChatRoomDao {
@Transaction
@Query("SELECT * FROM ChatRoom WHERE id = :id")
@Query("SELECT * FROM ChatRoom WHERE id = :id AND deletedAt IS NULL")
fun findChatRoomById(id: String): LocalChatRoom?
@Transaction