mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
fix switching conversation titles
This reverts a change froma24f49c7
Beforea24f49c7
in onDestroy() the disposables were not disposed. Instead this was "only" done in onComplete() of leaveRoom(). See a24f49c#diff-6b47d0e9875a7f7d5c1e6b80feab998e92d29b0cda8ac9bbf427aab99e56d209R1827 Because witha24f49c7
was now executed in onDestroy() , the leaveRoom() method is not executed successfully because it's destroyed too early. This results in multiple calls of getRoomInfo() with different roomTokens. Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
e682d30369
commit
95f3d776db
@ -1831,7 +1831,6 @@ class ChatController(args: Bundle) :
|
|||||||
|
|
||||||
adapter = null
|
adapter = null
|
||||||
inConversation = false
|
inConversation = false
|
||||||
disposables.dispose()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun joinRoomWithPassword() {
|
private fun joinRoomWithPassword() {
|
||||||
|
Loading…
Reference in New Issue
Block a user