mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-12 23:34:31 +01:00
fix getUsers query
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
f1dff03188
commit
3ccf41d1a6
@ -63,7 +63,7 @@ abstract class UsersDao {
|
|||||||
abstract fun saveUsers(vararg users: UserEntity): List<Long>
|
abstract fun saveUsers(vararg users: UserEntity): List<Long>
|
||||||
|
|
||||||
// get all users not scheduled for deletion
|
// get all users not scheduled for deletion
|
||||||
@Query("SELECT * FROM User where current != 0")
|
@Query("SELECT * FROM User where scheduledForDeletion != 1")
|
||||||
abstract fun getUsers(): Single<List<UserEntity>>
|
abstract fun getUsers(): Single<List<UserEntity>>
|
||||||
|
|
||||||
@Query("SELECT * FROM User where id = :id")
|
@Query("SELECT * FROM User where id = :id")
|
||||||
|
Loading…
Reference in New Issue
Block a user