mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:55:54 +03:00
ac5061d8a4
without this fix: after login the conversation list opened multiple times for the same user when other users already exist reason: proceedWithLogin() in AccountVerificationController is called multiple times because for ALL accounts (for (User user : userEntityObjectList)) the workers send their results via eventBus to AccountVerificationController#onMessageEvent(eventStatus: EventStatus) So depending on how many accounts exist, the ConversationList was loaded x times. solution: if internalAccountId is already the active one, no need to load the conversationList another time. when there is only one account -> currentUser id and internalAccountId are the same so it would not enter the condition. Thus also allowing it when only one user exists. Signed-off-by: Marcel Hibbe <dev@mhibbe.de> |
||
---|---|---|
.. | ||
schemas/com.nextcloud.talk.data.source.local.TalkDatabase | ||
src | ||
build.gradle | ||
lint.xml | ||
proguard-rules.pro |