mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
fix getUsersScheduledForDeletion query
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
3ccf41d1a6
commit
a99a173612
@ -78,7 +78,7 @@ abstract class UsersDao {
|
||||
@Query("SELECT * FROM User where userId != :userId")
|
||||
abstract fun getUsersWithoutUserId(userId: Long): Single<List<UserEntity>>
|
||||
|
||||
@Query("SELECT * FROM User where current = 0")
|
||||
@Query("SELECT * FROM User where scheduledForDeletion = 1")
|
||||
abstract fun getUsersScheduledForDeletion(): Single<List<UserEntity>>
|
||||
|
||||
@Query("SELECT * FROM User where scheduledForDeletion = 0")
|
||||
|
Loading…
Reference in New Issue
Block a user