Deprecate CurrentUserProvider

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-07-23 16:27:34 +02:00
parent 3e08781872
commit 93dacd25c4
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -22,6 +22,12 @@ package com.nextcloud.talk.utils.database.user
import com.nextcloud.talk.models.database.UserEntity
/**
* @deprecated use {@link com.nextcloud.talk.utils.database.user.CurrentUserProviderNew} instead.
*
* TODO: remove this class with a major version, 15.0.0 or 16.0.0.
*/
@kotlin.Deprecated("use com.nextcloud.talk.utils.database.user.CurrentUserProviderNew instead")
interface CurrentUserProvider {
val currentUser: UserEntity?
}