fix switching conversation titles

This reverts a change from a24f49c7

Before a24f49c7 in onDestroy() the disposables were not disposed. Instead this was "only" done in onComplete() of leaveRoom().
See a24f49c#diff-6b47d0e9875a7f7d5c1e6b80feab998e92d29b0cda8ac9bbf427aab99e56d209R1827
Because with a24f49c7 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:
Marcel Hibbe 2022-07-14 10:21:13 +02:00
parent e682d30369
commit 95f3d776db
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B

View file

@ -1831,7 +1831,6 @@ class ChatController(args: Bundle) :
adapter = null
inConversation = false
disposables.dispose()
}
private fun joinRoomWithPassword() {