mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-03 05:03:04 +00:00
5513f9c88f
The chat controller gets the room information again and again to check whether the lobby is enabled and update the UI as needed. This loop is stopped when the chat controller is detached, but only if no call is active; if a call is active the room information will still be got again and again, even if the chat controller is detached. To solve that now getting the room information is simply stopped when the chat controller is detached, no matter if there is an active call or not, and started again when joining the room, which is done when the chat controller is attached. However, this is just a quick fix that does not solve the issue in all cases; the loop can still continue during calls, for example if the request to get the information is sent before detaching the controller and the response is received once the controller was detached, as that would start the timer again. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> |
||
---|---|---|
.. | ||
schemas/com.nextcloud.talk.data.source.local.TalkDatabase | ||
src | ||
build.gradle | ||
lint.xml | ||
proguard-rules.pro |