mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-20 19:25:01 +01:00
Clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
d05a0a90fb
commit
b338c336b8
@ -197,9 +197,7 @@ class NextcloudTalkApplication : Application(), LifecycleObserver, Configuration
|
|||||||
var newUser: User
|
var newUser: User
|
||||||
val newUsers = mutableListOf<User>()
|
val newUsers = mutableListOf<User>()
|
||||||
for (user in users) {
|
for (user in users) {
|
||||||
newUser = User(userId = user.userId, username = user.username, baseUrl = user.baseUrl)
|
newUser = User(userId = user.userId, username = user.username, baseUrl = user.baseUrl, token = user.token, displayName = user.displayName)
|
||||||
newUser.token = user.token
|
|
||||||
newUser.displayName = user.displayName
|
|
||||||
try {
|
try {
|
||||||
newUser.pushConfiguration =
|
newUser.pushConfiguration =
|
||||||
LoganSquare.parse(user.pushConfigurationState, PushConfiguration::class.java)
|
LoganSquare.parse(user.pushConfigurationState, PushConfiguration::class.java)
|
||||||
|
Loading…
Reference in New Issue
Block a user